Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master' of git://git.kernel.org/pub/scm/gitk/gitk
[gitweb.git]
/
contrib
/
workdir
/
git-new-workdir
diff --git
a/contrib/workdir/git-new-workdir
b/contrib/workdir/git-new-workdir
index 709b2a3ac0e7603eadd9f62a795967c415d554df..3ff6bd166ab7db5612a419ffcdc93b9b3d7eb2f8 100755
(executable)
--- a/
contrib/workdir/git-new-workdir
+++ b/
contrib/workdir/git-new-workdir
@@
-24,7
+24,7
@@
git_dir=$(cd "$orig_git" 2>/dev/null &&
git rev-parse --git-dir 2>/dev/null) ||
die "\"$orig_git\" is not a git repository!"
-if test "$git_dir" =
=
".git"
+if test "$git_dir" = ".git"
then
git_dir="$orig_git/.git"
fi