git-cherry.txt: Change symbol marks in graph.
PATCH 1/1 git-cherry.txt: Change symbol marks in graph.
From: Jari Aalto <[email protected]>
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (* ... ?) as opposed to similar signs (* ... +).
--- Documentation/git-cherry.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
Documentation/git-cherry.txt +5 -5
@@ -19,13 +19,13 @@ the 'git patch-id' program. Every commit that doesn't exist in the <upstream> branch has its id (sha1) reported, prefixed by a symbol. The ones that have equivalent change already -in the <upstream> branch are prefixed with a minus (-) sign, and those -that only exist in the <head> branch are prefixed with a plus (+) symbol: +in the <upstream> branch are prefixed with a equal (=) sign, and those +that only exist in the <head> branch are prefixed with a question mark (?) symbol: - __*__*__*__*__> <upstream> + _*__*__*__*__> <upstream> / fork-point - \__+__+__-__+__+__-__+__> <head> + \__?__?__=__?__?__=__?__> <head> If a <limit> has been given then the commits along the <head> branch up
@@ -34,7 +34,7 @@ to and including <limit> are not reported: __*__*__*__*__> <upstream> / fork-point - \__*__*__<limit>__-__+__> <head> + \__*__*__<limit>__=__?__> <head> Because 'git cherry' compares the changeset rather than the commit id
Signature · 1 line
1.7.2.3
[email protected] venit, vidit, dixit 02.12.2010 06:18:
Quoted 1 line
From: Jari Aalto <[email protected]>
You don't need this line if it coincides with the mail header's From.
Quoted 6 lines
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (* ... ?) as opposed to
I assume you mean "(= ... ?)" etc. Or is "*" supposed to mean "[=-+]"? "git cherry" does not output "*".
Quoted 1 line
similar signs (* ... +).
Very good. After not having used cherry in a while, I always have to look up what "+" and "-" mean. "=" and "?" are self explaining. "=" and "+" would be also, but you're making a good point for "?". Also, often those additional commits are not really additional but applied with minor path-id-changing edits.
Quoted 11 lines
Signed-off-by Jari Aalto <[email protected]>--- Documentation/git-cherry.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)Documentation/git-cherry.txt +0
-0
Documentation/git-cherry.txt the 'git patch-id' program. · line 22
Quoted 6 lines
Documentation/git-cherry.txt +1
-2@@ -19,13 +19,13 @@ the 'git patch-id' program. Every commit that doesn't exist in the <upstream> branch has its id (sha1) reported, prefixed by a symbol. The ones that have equivalent change already -in the <upstream> branch are prefixed with a minus (-) sign, and those -that only exist in the <head> branch are prefixed with a plus (+) symbol: +in the <upstream> branch are prefixed with a equal (=) sign, and those
"an equal"
Quoted 12 lines
Documentation/git-cherry.txt +3
-2+that only exist in the <head> branch are prefixed with a question mark (?) symbol: - __*__*__*__*__> <upstream> + _*__*__*__*__> <upstream> / fork-point - \__+__+__-__+__+__-__+__> <head> + \__?__?__=__?__?__=__?__> <head> If a <limit> has been given then the commits along the <head> branch up
Documentation/git-cherry.txt to and including <limit> are not reported: · line 40
Quoted 8 lines
Documentation/git-cherry.txt +1
-1@@ -34,7 +34,7 @@ to and including <limit> are not reported: __*__*__*__*__> <upstream> / fork-point - \__*__*__<limit>__-__+__> <head> + \__*__*__<limit>__=__?__> <head> Because 'git cherry' compares the changeset rather than the commit id
Other than the above
PATCH v2 1/1 git-cherry.txt: Change symbol marks in graph.
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (= ... ?).
--- Documentation/git-cherry.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
Revised:
>> +in the <upstream> branch are prefixed with a equal (=) sign, and those >
> "an equal"
Documentation/git-cherry.txt +5 -5
@@ -19,13 +19,13 @@ the 'git patch-id' program. Every commit that doesn't exist in the <upstream> branch has its id (sha1) reported, prefixed by a symbol. The ones that have equivalent change already -in the <upstream> branch are prefixed with a minus (-) sign, and those -that only exist in the <head> branch are prefixed with a plus (+) symbol: +in the <upstream> branch are prefixed with an equal sign (=), and those +that only exist in the <head> branch are prefixed with a question mark (?) symbol: - __*__*__*__*__> <upstream> + _*__*__*__*__> <upstream> / fork-point - \__+__+__-__+__+__-__+__> <head> + \__?__?__=__?__?__=__?__> <head> If a <limit> has been given then the commits along the <head> branch up
@@ -34,7 +34,7 @@ to and including <limit> are not reported: __*__*__*__*__> <upstream> / fork-point - \__*__*__<limit>__-__+__> <head> + \__*__*__<limit>__=__?__> <head> Because 'git cherry' compares the changeset rather than the commit id
Signature · 1 line
1.7.2.3
Jari Aalto venit, vidit, dixit 02.12.2010 13:28:
Quoted 42 lines
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (= ... ?).
Signed-off-by Jari Aalto <[email protected]>--- Documentation/git-cherry.txt | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)Revised:
>> +in the <upstream> branch are prefixed with a equal (=) sign, and those >
> "an equal"Documentation/git-cherry.txt +4
-4@@ -19,13 +19,13 @@ the 'git patch-id' program. Every commit that doesn't exist in the <upstream> branch has its id (sha1) reported, prefixed by a symbol. The ones that have equivalent change already -in the <upstream> branch are prefixed with a minus (-) sign, and those -that only exist in the <head> branch are prefixed with a plus (+) symbol: +in the <upstream> branch are prefixed with an equal sign (=), and those +that only exist in the <head> branch are prefixed with a question mark (?) symbol: - __*__*__*__*__> <upstream> + _*__*__*__*__> <upstream> / fork-point - \__+__+__-__+__+__-__+__> <head> + \__?__?__=__?__?__=__?__> <head> If a <limit> has been given then the commits along the <head> branch up
Documentation/git-cherry.txt to and including <limit> are not reported: · line 40
Quoted 8 lines
Documentation/git-cherry.txt +1
-1@@ -34,7 +34,7 @@ to and including <limit> are not reported: __*__*__*__*__> <upstream> / fork-point - \__*__*__<limit>__-__+__> <head> + \__*__*__<limit>__=__?__> <head> Because 'git cherry' compares the changeset rather than the commit id
Well, that plus the patch to git-cherry itself which I saw before without being there .|
Michael
Quoted 9 lines · Jari Aalto
From: Jari Aalto <[email protected]>
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (* ... ?) as opposed to similar signs (* ... +).
Reading comprehension FAIL. The graph in question uses '+' and '-' because that is what 'git cherry' *output( uses ('+' included, '-' excluded). They are very natural in git-cherry output (diff-like).
Signature · 3 lines
Jakub Narebski Poland ShadeHawk on #git
Jakub Narebski venit, vidit, dixit 02.12.2010 09:00:
Quoted 12 lines
Quoted 9 lines · Jari Aalto
From: Jari Aalto <[email protected]>
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (* ... ?) as opposed to similar signs (* ... +).
Quoted 3 lines
Reading comprehension FAIL. The graph in question uses '+' and '-' because that is what 'git cherry' *output( uses ('+' included, '-' excluded). They are very natural in git-cherry output (diff-like).
Yep, and I so wished that git-cherry had different output that I even saw a git-cherry patch where there was none...
So, +1 from me if this comes with an actual code patch.
Michael
Quoted 12 lines · Jakub Narebski
Quoted 9 lines · Jari Aalto
From: Jari Aalto <[email protected]>
The common commit were marked with a minus sign (-), but that is usually interpreted as something less or substracted. Use natural equal sign (=). Commits that are not in upstream were marked with plus sign (+) but a question mark (?) is visually a litle more striking (erect) in context where all other signs are "flat". It also helps visually impared to see difference between (* ... ?) as opposed to similar signs (* ... +).
Quoted 3 lines
Reading comprehension FAIL. The graph in question uses '+' and '-' because that is what 'git cherry' *output( uses ('+' included, '-' excluded). They are very natural in git-cherry output (diff-like).
Well, cherry's output is not "diff like". '+' is what you need to keep, as opposed to '-' that marks a commit that needs to be dropped from your side. If it were "diff like", '+' would have been spelled with a single ' ', but then commits on the other side you do not have need be included with '+' mark. However, 'git cherry' is not trying to produce a diff between branches; it does not matter what extra stuff the other side contains.
I however do agree with your conclusion; '=' is not "natural" in the context of 'git cherry' at all. "You need to drop this" comes more natural with '-'.
And obviously, the illustration in the documentation uses the same +/- that appear in the program's output.
So any change along the line of Jari's patch would be a dis-improvement.