write first for-merge ref to FETCH_HEAD first
[gitweb.git] / Documentation / git-read-tree.txt
index 5375549820bd6b9fecf3540b1e60ae50e74da0e6..2d3ff235d4890951deaab2de3700b843c0c18db5 100644 (file)
@@ -342,7 +342,7 @@ since you pulled from him:
 
 ----------------
 $ git fetch git://.... linus
-$ LT=`cat .git/FETCH_HEAD`
+$ LT=`git rev-parse FETCH_HEAD`
 ----------------
 
 Your work tree is still based on your HEAD ($JC), but you have