From 806feb8be59fcde64beae8f701d3a525968a9c2b Mon Sep 17 00:00:00 2001 From: Abhishek Mukherjee Date: Tue, 1 Sep 2009 17:07:27 -0400 Subject: [PATCH] Unconnect git command in git-export The git-checkout-index command on my local computer cannot be accessed using `git-checkout-index`, only `git checkout-index`. I believe the latter is garunteed to work as git mangles it as needed, but that's a guess. --- git-export | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-export b/git-export index dc50686..afee56b 100755 --- a/git-export +++ b/git-export @@ -31,7 +31,7 @@ while true ; do --) shift; break ;; *) - echo "Invalid argument found!" >&2 + die "Invalid argument found!" exit 2; ;; esac @@ -55,4 +55,4 @@ cd_to_toplevel echo "Exporting git repository to ${destination}" -git-checkout-index -a --prefix=${destination}/ +git checkout-index -a --prefix=${destination}/