diff options
author | Elijah Newren <newren@gmail.com> | 2023-10-08 06:45:20 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-10-09 12:06:29 -0700 |
commit | 9a9fd289cc81a3bb69eb2b4e11db27509e0eb515 (patch) | |
tree | 613ec5217e16120fa374f5c60cc815db770e0245 /Documentation/diff-generate-patch.txt | |
parent | 0cac690e1ac5e26ecf2dba0c53ac3824425446b5 (diff) | |
download | git-9a9fd289cc81a3bb69eb2b4e11db27509e0eb515.tar.gz |
documentation: use clearer prepositions
Diff best viewed with --color-diff.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-generate-patch.txt')
-rw-r--r-- | Documentation/diff-generate-patch.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/diff-generate-patch.txt b/Documentation/diff-generate-patch.txt index cf1958ca63..988e33de70 100644 --- a/Documentation/diff-generate-patch.txt +++ b/Documentation/diff-generate-patch.txt @@ -17,7 +17,7 @@ You can customize the creation of patch text via the What the -p option produces is slightly different from the traditional diff format: -1. It is preceded with a "git diff" header that looks like this: +1. It is preceded by a "git diff" header that looks like this: diff --git a/file1 b/file2 + @@ -123,7 +123,7 @@ index fabadb8,cc95eb0..4866510 for_each_ref(get_name); ------------ -1. It is preceded with a "git diff" header, that looks like +1. It is preceded by a "git diff" header, that looks like this (when the `-c` option is used): diff --combined file |