]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/function.expect
Merge branch 'jk/redact-h2h3-headers-fix' into maint-2.41
[thirdparty/git.git] / t / chainlint / function.expect
CommitLineData
56066523
ES
1sha1_file ( ) {
2 echo "$*" | sed "s#..#.git/objects/&/#"
3} &&
4
5remove_object ( ) {
6 file=$(sha1_file "$*") &&
7 test -e "$file" ?!AMP?!
8 rm -f "$file"
9} ?!AMP?!
10
11sha1_file arg && remove_object arg