X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=git-status.sh;h=b90ffc198d97bccfc7f484e8555b01ba9bf5217b;hb=2c4ed386e8861e730037abe4f4d9e032c5c46242;hp=837f334d8760c9ff4af4de5d057e97d7af3cfc61;hpb=3eeb419968c1f8f0a762a7127db770e9d9c8037d;p=git.git diff --git a/git-status.sh b/git-status.sh index 837f334d..b90ffc19 100755 --- a/git-status.sh +++ b/git-status.sh @@ -2,7 +2,7 @@ # # Copyright (c) 2005 Linus Torvalds # -. git-sh-setup || die "Not a git archive" +GIT_DIR=$(git-rev-parse --git-dir) || exit report () { header="#