aboutsummaryrefslogtreecommitdiffstats
path: root/git-oci
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-08-02 00:34:31 +0200
committerMatěj Cepl <mcepl@cepl.eu>2024-10-07 11:02:08 +0200
commit53028774109da538cf0375b39bcd68eee6bdbb01 (patch)
treeea8a53292079e84bead7f408804a2af1266872a9 /git-oci
parent4216a90741b5425eac76be77a5f95b548ada3b9d (diff)
downloadgosc-53028774109da538cf0375b39bcd68eee6bdbb01.tar.gz
Add git add -A . to the script to make the operation more easy.
Diffstat (limited to 'git-oci')
-rwxr-xr-xgit-oci1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-oci b/git-oci
index e7f30f5..e915abd 100755
--- a/git-oci
+++ b/git-oci
@@ -2,6 +2,7 @@
set -eux
+git add -A .
git diff --no-color HEAD -- *.changes \
|sed -E -n -e '/^\+[^+]/s/^\+//p' \
|sed -e '/^-\{4,\}/,+1d' \