summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fb8c80)
raw | patch | inline | side by side (parent: 4fb8c80)
author | Simon Hausmann <simon@lst.de> | |
Mon, 25 Jun 2007 11:04:26 +0000 (13:04 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 27 Jun 2007 01:18:47 +0000 (18:18 -0700) |
Use = instead of == with test to test for equality.
Signed-off-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/workdir/git-new-workdir | patch | blob | history |
index 709b2a3ac0e7603eadd9f62a795967c415d554df..3ff6bd166ab7db5612a419ffcdc93b9b3d7eb2f8 100755 (executable)
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