]> git.ipfire.org Git - thirdparty/git.git/blob - t/chainlint/function.expect
Merge branch 'jk/clone-allow-bare-and-o-together'
[thirdparty/git.git] / t / chainlint / function.expect
1 sha1_file ( ) {
2 echo "$*" | sed "s#..#.git/objects/&/#"
3 } &&
4
5 remove_object ( ) {
6 file=$(sha1_file "$*") &&
7 test -e "$file" ?!AMP?!
8 rm -f "$file"
9 } ?!AMP?!
10
11 sha1_file arg && remove_object arg