Skip to content

Commit 580cbb5

Browse files
jrngitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent bb35f35 commit 580cbb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/glossary-content.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,6 @@ This commit is referred to as a "merge commit", or sometimes just a
456456
of 'A' is 'origin/B' sometimes we say "'A' is tracking 'origin/B'".
457457

458458
[[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.

0 commit comments

Comments
 (0)