Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Fix signature of fcntl() compatibility dummy
[gitweb.git]
/
git-sh-setup.sh
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
old mode 100755
(executable)
new mode 100644
(file)
index
44fb467
..
7a09566
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-141,7
+141,7
@@
cd_to_toplevel () {
}
require_work_tree () {
- test
$(git rev-parse --is-inside-work-tree)
= true ||
+ test
"$(git rev-parse --is-inside-work-tree 2>/dev/null)"
= true ||
die "fatal: $0 cannot be used without a working tree."
}