Documentation / git-patch-id.txton commit [PATCH] fetch.c: Make process() look at each object only once (f9cff26)
   1git-patch-id(1)
   2===============
   3
   4NAME
   5----
   6git-patch-id - Generate a patch ID.
   7
   8SYNOPSIS
   9--------
  10'git-patch-id' < <patch>
  11
  12DESCRIPTION
  13-----------
  14A "patch ID" is nothing but a SHA1 of the diff associated with a patch, with
  15whitespace and line numbers ignored.  As such, it's "reasonably stable", but at
  16the same time also reasonably unique, ie two patches that have the same "patch
  17ID" are almost guaranteed to be the same thing.
  18
  19IOW, you can use this thing to look for likely duplicate commits.
  20
  21OPTIONS
  22-------
  23<patch>::
  24        The diff to create the ID of.
  25
  26Author
  27------
  28Written by Linus Torvalds <torvalds@osdl.org>
  29
  30Documentation
  31--------------
  32Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
  33
  34GIT
  35---
  36Part of the gitlink:git[7] suite
  37