diff options
| author | Glenn Morris | 2014-12-01 12:58:51 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-12-01 12:58:51 -0500 |
| commit | ec7e07b333873789774cea53b45248fd0bf00600 (patch) | |
| tree | febafaf2dc7aff1182f5f77fc24909d9812b38f8 /admin/update_autogen | |
| parent | 11b65bc080884362f65bf639fddcdb58ad023fbf (diff) | |
| download | emacs-ec7e07b333873789774cea53b45248fd0bf00600.tar.gz emacs-ec7e07b333873789774cea53b45248fd0bf00600.zip | |
* admin/update_autogen (commit): With git, call "add" before "commit".
Diffstat (limited to 'admin/update_autogen')
| -rwxr-xr-x | admin/update_autogen | 4 |
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" ] && { |