@matheusbsbs / matheus-bagliano / commits / 580cbb58a2
Fork 0

Documentation: clarify "working tree" definition

It is not necessarily obvious to a git novice what it means for a filesystem tree to be equal to the HEAD. Spell it out. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jonathan Nieder committed Oct 9, 2009 at 05:20 UTC 580cbb58a29ee3ebc3714f4792d34f958fd86165
1 file changed +3 -3
Documentation/glossary-content.txt
+3 -3
@@ -456,6 +456,6 @@ This commit is referred to as a "merge commit", or sometimes just a
456 of 'A' is 'origin/B' sometimes we say "'A' is tracking 'origin/B'".
457
458 [[def_working_tree]]working tree::
459 - The tree of actual checked out files. The working tree is
460 - normally equal to the <<def_HEAD,HEAD>> plus any local changes
461 - that you have made but not yet committed.
459 + The tree of actual checked out files. The working tree normally
460 + contains the contents of the <<def_HEAD,HEAD>> commit's tree,
461 + plus any local changes that you have made but not yet committed.