diff options
author | Junio C Hamano <gitster@pobox.com> | 2015-10-26 16:14:30 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-26 16:14:30 -0700 |
commit | daf0aaecf41c91c2307b7a38218f6b2d37669ad1 (patch) | |
tree | 2032469465a7995a1ae1f8fbbb2345e32a2aa50e /git-patch-id.txt | |
parent | e265b5c6dbafc936b10575797cc098414af5b874 (diff) | |
download | git-htmldocs-daf0aaecf41c91c2307b7a38218f6b2d37669ad1.tar.gz |
Autogenerated HTML docs for v2.6.2-307-g37023b
Diffstat (limited to 'git-patch-id.txt')
-rw-r--r-- | git-patch-id.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-patch-id.txt b/git-patch-id.txt index 31efc587e..cf71fba1c 100644 --- a/git-patch-id.txt +++ b/git-patch-id.txt @@ -8,10 +8,12 @@ git-patch-id - Compute unique ID for a patch SYNOPSIS -------- [verse] -'git patch-id' [--stable | --unstable] < <patch> +'git patch-id' [--stable | --unstable] DESCRIPTION ----------- +Read a patch from the standard input and compute the patch ID for it. + A "patch ID" is nothing but a sum of SHA-1 of the file diffs associated with a patch, with whitespace and line numbers ignored. As such, it's "reasonably stable", but at the same time also reasonably unique, i.e., two patches that |