diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2019-05-13 04:34:02 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2019-05-13 04:34:02 +0300 |
commit | c617df3ceaaa05292d0907c42ce1cdfb894a71f4 (patch) | |
tree | c0eec17495a7a00c19629df669b91568a9222f82 | |
parent | 79e3e78fddc3a4f4e23bd3ba26a8d779d5fd8053 (diff) |
Replace grep/sed with awkjv-sketch-snapshot
-rwxr-xr-x | gitaly-bundle-create | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gitaly-bundle-create b/gitaly-bundle-create index 6e7ea0c53..e95b0d1cd 100755 --- a/gitaly-bundle-create +++ b/gitaly-bundle-create @@ -22,6 +22,5 @@ echo # stdin; pack data is not read. awk '/^$/ { exit } /^[^#]/ { print $1 }' |\ git cat-file --batch-check='%(objectname)' |\ - grep -v ' missing$' |\ - sed 's/^/^/' + awk '!/ missing$/ { print "^" $1 }' ) | git pack-objects --thin --stdout --non-empty --delta-base-offset |