aboutsummaryrefslogtreecommitdiffstats
path: root/admin
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
parent11b65bc080884362f65bf639fddcdb58ad023fbf (diff)
downloademacs-ec7e07b333873789774cea53b45248fd0bf00600.tar.gz
emacs-ec7e07b333873789774cea53b45248fd0bf00600.zip
* admin/update_autogen (commit): With git, call "add" before "commit".
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog4
-rwxr-xr-xadmin/update_autogen4
2 files changed, 8 insertions, 0 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 82974dc846f..0529a877120 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,7 @@
12014-12-01 Glenn Morris <rgm@gnu.org>
2
3 * update_autogen (commit): With git, call "add" before "commit".
4
12014-11-19 Paul Eggert <eggert@cs.ucla.edu> 52014-11-19 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Lessen focus on ChangeLog files, as opposed to change log entries. 7 Lessen focus on ChangeLog files, as opposed to change log entries.
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" ] && {