有没有办法改善 git-diff 输出?
Is there a way to improve git-diff output?
我有源文本:
=head3 POST /throw/rock
Take a rock, throw it. Well done, you.
=head4 Input
=over
=item direction
Compass point or something.
=item speed
In km/h to annoy home counties people who still think in mp/h.
=back
=head4 Output
下一个文本已更改:
=head3 POST /throw/rock
=for doc-viewer input-from POST /drive/tank
Take a rock, throw it. Well done, you.
=head4 Output
结果差异是:
git 中是否有强制其不破坏补丁的选项。我希望这样的结果:
=head3 POST /throw/rock
+=for doc-viewer input-from POST /drive/tank
-Take a rock, throw it. Well done, you.
-
-
-=head4 Input
-=over
-
-=item direction
-Compass point or something.
-
-=item speed
-
-In km/h to annoy home counties people who still think in mp/h.
-
-=back
+Take a rock, throw it. Well done, you.
=head4 Output
使用--patience
或--histogram
;他们使这个特殊情况变得更好,因为他们注意到有一行没有改变:
@@ -1,22 +1,10 @@
=head3 POST /throw/rock
+=for doc-viewer input-from POST /drive/tank
+
+
Take a rock, throw it. Well done, you.
-=head4 Input
-
-=over
-
-=item direction
-
-Compass point or something.
-
-=item speed
-
-In km/h to annoy home counties people who still think in mp/h.
-
-=back
-
-
=head4 Output
我有源文本:
=head3 POST /throw/rock
Take a rock, throw it. Well done, you.
=head4 Input
=over
=item direction
Compass point or something.
=item speed
In km/h to annoy home counties people who still think in mp/h.
=back
=head4 Output
下一个文本已更改:
=head3 POST /throw/rock
=for doc-viewer input-from POST /drive/tank
Take a rock, throw it. Well done, you.
=head4 Output
结果差异是:
git 中是否有强制其不破坏补丁的选项。我希望这样的结果:
=head3 POST /throw/rock
+=for doc-viewer input-from POST /drive/tank
-Take a rock, throw it. Well done, you.
-
-
-=head4 Input
-=over
-
-=item direction
-Compass point or something.
-
-=item speed
-
-In km/h to annoy home counties people who still think in mp/h.
-
-=back
+Take a rock, throw it. Well done, you.
=head4 Output
使用--patience
或--histogram
;他们使这个特殊情况变得更好,因为他们注意到有一行没有改变:
@@ -1,22 +1,10 @@
=head3 POST /throw/rock
+=for doc-viewer input-from POST /drive/tank
+
+
Take a rock, throw it. Well done, you.
-=head4 Input
-
-=over
-
-=item direction
-
-Compass point or something.
-
-=item speed
-
-In km/h to annoy home counties people who still think in mp/h.
-
-=back
-
-
=head4 Output