aboutsummaryrefslogtreecommitdiffstats
path: root/admin/update_autogen
diff options
context:
space:
mode:
authorGlenn Morris2014-12-01 12:58:51 -0500
committerGlenn Morris2014-12-01 12:58:51 -0500
commitec7e07b333873789774cea53b45248fd0bf00600 (patch)
treefebafaf2dc7aff1182f5f77fc24909d9812b38f8 /admin/update_autogen
parent11b65bc080884362f65bf639fddcdb58ad023fbf (diff)
downloademacs-ec7e07b333873789774cea53b45248fd0bf00600.tar.gz
emacs-ec7e07b333873789774cea53b45248fd0bf00600.zip
* admin/update_autogen (commit): With git, call "add" before "commit".
Diffstat (limited to 'admin/update_autogen')
-rwxr-xr-xadmin/update_autogen4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/update_autogen b/admin/update_autogen
index d9d34fa3d6e..84e0584f220 100755
--- a/admin/update_autogen
+++ b/admin/update_autogen
@@ -228,6 +228,10 @@ commit ()
228 228
229 echo "Committing..." 229 echo "Committing..."
230 230
231 [ "$vcs" = "git" ] && {
232 $vcs add "$@" || return $?
233 }
234
231 $vcs commit -m "Auto-commit of $type files." "$@" || return $? 235 $vcs commit -m "Auto-commit of $type files." "$@" || return $?
232 236
233 [ "$vcs" = "git" ] && { 237 [ "$vcs" = "git" ] && {