Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Adjust to ls-tree --full-name when run from a subdirectory.
author
Junio C Hamano
<junkio@cox.net>
Fri, 23 Dec 2005 22:10:16 +0000
(14:10 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 23 Dec 2005 22:10:16 +0000
(14:10 -0800)
A proposed change to show cwd relative paths by default from
ls-tree when run from a subdirectory means we would need to
give --full-name option to it.
Signed-off-by: Junio C Hamano <junkio@cox.net>
1
2
git-checkout.sh
patch
|
diff1
|
diff2
|
blob
|
history
raw
|
combined
(merge:
104f3e0
a69dd58
)
diff --cc
git-checkout.sh
index 1219ea0b0e837b0cdd68fa909cd5151273dd70cf,36308d22c6a72b9ad53ced60bd3c70a2e17520b6..3bbd1117739b02572aece86030bb9f02f3110d34
---
1
/
git-checkout.sh
---
2
/
git-checkout.sh
+++ b/
git-checkout.sh
@@@
-80,7
-79,7
+80,7
@@@
the
# from a specific tree-ish; note that this is for
# rescuing paths and is never meant to remove what
# is not in the named tree-ish.
-- git-ls-tree -r "$new" "$@" |
++ git-ls-tree -
-full-name -
r "$new" "$@" |
git-update-index --index-info || exit $?
fi
git-checkout-index -f -u -- "$@"