Re: Documentation/git-commit.txt

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nicolas Pitre
Date: Saturday, December 9, 2006 - 12:58 pm

On Fri, 8 Dec 2006, Junio C Hamano wrote:


Sure, but sometimes too much is just as bad as not enough.  And given 
the amount of text in your version I feel the essence of the information 
gets dilluted too much.


But why couldn't this be in the git-merge man page instead?  That is 
precisely the sort of addition that makes me feel like we're trying to 
say too much at the same time.  When in the context of learning how 
"commit" works, it is certainly not necessary to talk about how "merge" 
works.  That should really be mentioned in the "merging" documentation 
(with a link to git-commit for more options on commit).


Sure, but the whole merge concept might still not make any sense at the 
moment the user is learning about commit.  In other words, the "commit" 
documentation must not depend on the "merge" concept.  It should rather 
be the other way around, i.e. the "merge" documentation can easily 
depend on the "commit" documentation.

Just like I carefully avoided talking about "commit -a" in the git-add 
man page to avoid circular conceptual dependencies.  But obviously the 
git-commit man page must talk about the "add" concept.

This way you get a progressive knowledge base with git-add which pretty 
much stands on its own, then you move to git-commit that depends on 
git-add, then you move to merging and resolving conflicts that depend on 
git-commit.  And so without being distracted by concepts you don't need 
to know just yet along the way.


Nicolas
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Documentation/git-commit.txt, Junio C Hamano, (Fri Dec 8, 4:20 am)
Re: Documentation/git-commit.txt, Salikh Zakirov, (Fri Dec 8, 4:55 am)
Re: Documentation/git-commit.txt, Alan Chandler, (Fri Dec 8, 3:56 pm)
Re: Documentation/git-commit.txt, Nicolas Pitre, (Fri Dec 8, 7:58 pm)
Re: Documentation/git-commit.txt, Junio C Hamano, (Fri Dec 8, 9:25 pm)
Re: Documentation/git-commit.txt, J. Bruce Fields, (Fri Dec 8, 9:31 pm)
Re: Documentation/git-commit.txt, J. Bruce Fields, (Fri Dec 8, 9:42 pm)
Re: Documentation/git-commit.txt, Nicolas Pitre, (Sat Dec 9, 12:58 pm)
Re: Documentation/git-commit.txt , Horst H. von Brand, (Sat Dec 9, 5:11 pm)
Re: [PATCH] Documentation/git-commit: rewrite to make it m ..., Josef Weidendorfer, (Sat Dec 9, 5:30 pm)
Re: Documentation/git-commit.txt, Alan Chandler, (Sun Dec 10, 2:23 am)
Re: Documentation/git-commit.txt, Andreas Ericsson, (Mon Dec 11, 7:58 am)