X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-patch-id.txt;h=477785e13418e1971156f5210015da4ab9d77cab;hb=aa41cf8f43687579363a2360795cac621d5254ed;hp=bb8a079254e7fed097504cd181eee71a888d2280;hpb=159e639e5bf24d78b22802934ae335413b2aa6ae;p=git.git diff --git a/Documentation/git-patch-id.txt b/Documentation/git-patch-id.txt index bb8a07925..477785e13 100644 --- a/Documentation/git-patch-id.txt +++ b/Documentation/git-patch-id.txt @@ -7,7 +7,7 @@ git-patch-id - Compute unique ID for a patch SYNOPSIS -------- -'git-patch-id' < +'git patch-id' < DESCRIPTION ----------- @@ -18,7 +18,7 @@ ID" are almost guaranteed to be the same thing. IOW, you can use this thing to look for likely duplicate commits. -When dealing with git-diff-tree output, it takes advantage of +When dealing with 'git-diff-tree' output, it takes advantage of the fact that the patch is prefixed with the object name of the commit, and outputs two 40-byte hexadecimal string. The first string is the patch ID, and the second string is the commit ID.