6 git-patch-id - Generate a patch ID.
10 'git-patch-id' < <patch>
14 A "patch ID" is nothing but a SHA1 of the diff associated with a patch, with
15 whitespace and line numbers ignored. As such, it's "reasonably stable", but at
16 the same time also reasonably unique, ie two patches that have the same "patch
17 ID" are almost guaranteed to be the same thing.
19 IOW, you can use this thing to look for likely duplicate commits.
24 The diff to create the ID of.
28 Written by Linus Torvalds <torvalds@osdl.org>
32 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
36 Part of the link:git.html[git] suite