Added git-export stub.

This commit is contained in:
Daniel Schierbeck
2008-10-16 17:26:01 +02:00
commit 2943c02af2
Executable
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh
#
# Copyright (c) 2008 Daniel Schierbeck
#
# Export the contents of the git index to a specified directory
USAGE="[-f | --force] [-d | --destination=<string>]"
LONG_USAGE="Export the contents of the git index to a specified directory"
SUBDIRECTORY_OK=Yes
. git-sh-setup
if [ -f .git ]; then
echo 1>&2 "fatal: not a git repository"
exit 127
fi
if [ $# -ne 1 ]; then
echo 1>&2 "Usage: $0 destination"
exit 127
fi