diff options
| author | Junio C Hamano <junkio@cox.net> | 2005-11-16 21:32:44 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2005-11-16 21:32:44 -0800 |
| commit | 27dedf0c3b78d1072fb5449149421284f9e5297b (patch) | |
| tree | 80da2302f50bb1f396611a4a54a6da52a4592bd0 /Documentation/git-read-tree.txt | |
| parent | GIT 0.99.9i aka 1.0rc2 (diff) | |
| download | git-0.99.9j.tar.gz git-0.99.9j.zip | |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-read-tree.txt')
| -rw-r--r-- | Documentation/git-read-tree.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-read-tree.txt b/Documentation/git-read-tree.txt index 7be0cbd620..8b91847856 100644 --- a/Documentation/git-read-tree.txt +++ b/Documentation/git-read-tree.txt @@ -237,7 +237,7 @@ This is done to prevent you from losing your work-in-progress changes. To illustrate, suppose you start from what has been commited last to your repository: - $ JC=`cat .git/HEAD` + $ JC=`git-rev-parse --verify "HEAD^0"` $ git-checkout-index -f -u -a $JC You do random edits, without running git-update-index. And then |
