From 40f446fdeeef4e4cefc1d47d81a09f42b6beb11d Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Sat, 6 Jan 2018 13:03:33 +0100 Subject: [PATCH] Don't quote the list of files, it confuses git --- bin/git_autosave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git_autosave b/bin/git_autosave index 519f07b..eb03518 100755 --- a/bin/git_autosave +++ b/bin/git_autosave @@ -6,7 +6,7 @@ if [ -n "$1" ]; then cd "$GITDIR" || exit DATETIME=$(date +%Y%m%d\ %H:%M:%S) #git pull - RESULT=$(git commit "$*" -m "Autosave at $DATETIME") + RESULT=$(git commit $* -m "Autosave at $DATETIME") echo "$RESULT" #zenity --info --text=$RESULT git push