We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87d42fe + cb979a3 commit 1e68543Copy full SHA for 1e68543
git-archive-all.sh
@@ -209,7 +209,7 @@ elif [ $SEPARATE -eq 1 -a ! -d "$OUT_FILE" ]; then
209
echo "When creating multiple archives, your destination must be a directory."
210
echo "If it's not, you risk being surprised when your files are overwritten."
211
exit
212
-elif [ `git config -l | grep -q '^core\.bare=false'; echo $?` -ne 0 ]; then
+elif [ `git config -l | grep -q '^core\.bare=true'; echo $?` -eq 0 ]; then
213
echo "$PROGRAM must be run from a git working copy (i.e., not a bare repository)."
214
215
fi
0 commit comments