index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Morten Linderud <foxboron@archlinux.org> | 2020-05-29 23:10:18 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-03-19 22:02:04 +0100 |
commit | b6f5220bed76c9ea9f83f4c6c81ced9977b26d77 (patch) | |
tree | 0ebe6270260b200429625e268324253e305144ec /src/commitpkg.in | |
parent | f4213f9c360c3eb8d93a9365e844e254c47c827a (diff) |
-rw-r--r-- | src/commitpkg.in | 9 |
diff --git a/src/commitpkg.in b/src/commitpkg.in index 9186378..59471bf 100644 --- a/src/commitpkg.in +++ b/src/commitpkg.in @@ -160,6 +160,15 @@ if [[ -z $server ]]; then fi if [[ -n $(git status --short --untracked-files=no) ]]; then + stat_busy 'Staging files' + for f in $(git ls-files --modified); do + git add "$f" + done + for f in $(git ls-files --deleted); do + git rm "$f" + done + stat_done + msgtemplate="upgpkg: $pkgbase $(get_full_version)" if [[ -n $1 ]]; then stat_busy 'Committing changes' |