]> git.ipfire.org Git - thirdparty/git.git/blame - t/chainlint/function.expect
Merge branch 'rs/parse-options-with-keep-unknown-abbrev-fix'
[thirdparty/git.git] / t / chainlint / function.expect
CommitLineData
647b5e09 1sha1_file() {
56066523
ES
2 echo "$*" | sed "s#..#.git/objects/&/#"
3} &&
4
647b5e09 5remove_object() {
56066523
ES
6 file=$(sha1_file "$*") &&
7 test -e "$file" ?!AMP?!
8 rm -f "$file"
9} ?!AMP?!
10
11sha1_file arg && remove_object arg