Skip to contentSkip to conversation

documentation: fix alphabetic ordered list for git-rebase man page

PATCH In review Nelson Benitez Leon 3 participants 5 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation: fix alphabetic ordered list for git-rebase man page

An alphabetic ordered list (a.) is converted to numerical in the man page (1.) so context comments naming 'a' were confusing, fix that by not using ordered list notation for 'a' anb 'b' items.
---
Hi, "Interactive mode" section of git-rebase man page has an error, where the source says:
a. regular use

1. finish something worthy of a commit

2. commit

the converted man page says:

1. regular use

1. finish something worthy of a commit

2. commit

so the comments in following paragraph talking about "b.2." and "plenty of a's and b's" don't have any meaning. I've fixed it by not using ordered list notation for the alphabetical list.

Here you can see images of the man page before and after the patch:

Before patch: http://static.inky.ws/image/1567/image.jpg

After patch: http://static.inky.ws/image/1568/image.jpg

Regards,

 Documentation/git-rebase.txt |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
Documentation/git-rebase.txt +5 -2
index 504945c..520aaa9 100644
@@ -409,10 +409,13 @@ The interactive mode is meant for this type of workflow:
 
 where point 2. consists of several instances of
 
-a. regular use
+a) regular use
+
  1. finish something worthy of a commit
  2. commit
-b. independent fixup
+
+b) independent fixup
+
  1. realize that something does not work
  2. fix that
  3. commit it
Signature · 1 line
1.7.7.6
#2 lore raw
Quoted 1 line · Junio C Hamano

Thanks; sign-off?

Having just checked up on this myself for a project I maintain and was sent a patch without signoff (we shamelessly stole git.git's meaning of signoffs), I have it on a copyright lawyer's word that you can safely forge the sign-off for anything that provides a bugfix without adding a new way of doing things, since only changes that carry a certain amount of originality can be copyright protected.

Fixing an alphabetic ordering is too trivial to grant the author of the fix any right to the resulting work, as are typo-, grammar and one-line syntactical fixes (adding missing braces, etc), and therefore they do not need to sign off on the fact that they have a right to give others the right to use that work, since they in fact do not have the right to restrict others from using it in the first place.

Just thought I'd throw that out there in case you, like I did, run into useful patches you dare not use because the original author gets hard to contact all of a sudden.

Signature · 7 lines
Andreas Ericsson                   [email protected]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
#3 lore raw
Quoted 6 lines · Andreas Ericsson
Quoted 1 line · Junio C Hamano

Thanks; sign-off?

...
Just thought I'd throw that out there in case you, like I did, run into useful patches you dare not use because the original author gets hard to contact all of a sudden.

Thanks, but after seeing another series that is not as trivial as this one from the same author, I was hoping that Nelson will become a part of our regular contributor base ;-)

And obviously it will be less work on me in the longer term if I train the regular contributors to do S-o-b themselves earlier in the process.

#4 lore raw

An alphabetic ordered list (a.) is converted to numerical in the man page (1.) so context comments naming 'a' were confusing, fix that by not using ordered list notation for 'a' anb 'b' items.

---
Sorry for the delay and forgetting the sign-off, should have made an alias for that, hope to keep contributing as I found things that need to be improved. thanks!

 Documentation/git-rebase.txt |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
Documentation/git-rebase.txt +5 -2
index 504945c..520aaa9 100644
@@ -409,10 +409,13 @@ The interactive mode is meant for this type of workflow:
 
 where point 2. consists of several instances of
 
-a. regular use
+a) regular use
+
  1. finish something worthy of a commit
  2. commit
-b. independent fixup
+
+b) independent fixup
+
  1. realize that something does not work
  2. fix that
  3. commit it
Signature · 1 line
1.7.7.6