index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Levente Polyak <anthraxx@archlinux.org> | 2023-05-27 01:43:33 +0200 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-05-27 01:53:45 +0200 |
commit | 3283b2ca59b06198118d5313a4b19e6119468b86 (patch) | |
tree | f26cdc3ec2766357d2d6d263773e175dbafbbf6a /src | |
parent | 71cb9e97bb584bcb7142abde715237fb8d0fa69e (diff) |
-rw-r--r-- | src/commitpkg.in | 4 |
diff --git a/src/commitpkg.in b/src/commitpkg.in index c52e4fa..8a8087a 100644 --- a/src/commitpkg.in +++ b/src/commitpkg.in @@ -129,6 +129,10 @@ done # assert that they really are controlled by git if (( ${#needsversioning[*]} )); then for file in "${needsversioning[@]}"; do + # skip none existing files + if [[ ! -f "${file}" ]]; then + continue + fi if ! git ls-files --error-unmatch "$file"; then die "%s is not under version control" "$file" fi |