Skip to contentSkip to conversation

doc: don't claim that cherry calls patch-id

PATCH New Michael S. Tsirkin 1 participant 1 message Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 doc: don't claim that cherry calls patch-id

The id is already different for binary files. The hash used is an implementation detail, so let's just document how diffs are compared.

---

Changes from v1:
address comments by Jonathan

 Documentation/git-cherry.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Documentation/git-cherry.txt +1 -2
index f6c19c7..2d0daae 100644
@@ -14,8 +14,7 @@ DESCRIPTION
 -----------
 The changeset (or "diff") of each commit between the fork-point and <head>
 is compared against each commit between the fork-point and <upstream>.
-The commits are compared with their 'patch id', obtained from
-the 'git patch-id' program.
+The diffs are compared after removing any whitespace and line numbers.
 
 Every commit that doesn't exist in the <upstream> branch
 has its id (sha1) reported, prefixed by a symbol.  The ones that have
Signature · 1 line
MST