mirror of
https://github.com/kennethreitz-archive/git-export.git
synced 2026-06-05 23:50:19 +00:00
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.
This commit is contained in:
+2
-2
@@ -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}/
|
||||
|
||||
Reference in New Issue
Block a user