Git fork
at reftables-rust 11 lines 247 B view raw
12 sha1_file() { 23 echo "$*" | sed "s#..#.git/objects/&/#" 34 } && 45 56 remove_object() { 67 file=$(sha1_file "$*") && 78 test -e "$file" ?!LINT: missing '&&'?! 89 rm -f "$file" 910 } ?!LINT: missing '&&'?! 1011 1112 sha1_file arg && remove_object arg