Skip to content

Commit 89d4f3a

Browse files
LemmingAvalanchegitster
authored andcommitted
doc: patch-id: spell out the git-diff-tree(1) form
You specifically need `--patch` since the default output is a raw diff. Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f671f5a commit 89d4f3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/git-patch-id.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ the same time also reasonably unique, i.e., two patches that have the same
2121

2222
The main usecase for this command is to look for likely duplicate commits.
2323

24-
When dealing with `git diff-tree` output, it takes advantage of
24+
When dealing with `git diff-tree --patch` output, it takes advantage of
2525
the fact that the patch is prefixed with the object name of the
2626
commit, and outputs two 40-byte hexadecimal strings. The first
2727
string is the patch ID, and the second string is the commit ID.

0 commit comments

Comments
 (0)