Sign in
code
/
git
/
d497bd9d597a21430da541a9f5414784ad26e48b
/
.
/
t
/
chainlint
/
function.expect
blob: c226246b2595fa87c81e62ae508c75cef25676a4 [
file
] [
log
] [
blame
]
2
sha1_file
()
{
3
echo
"$*"
|
sed
"s#..#.git/objects/&/#"
4
}
&&
5
6
remove_object
()
{
7
file
=
$
(
sha1_file
"$*"
)
&&
8
test
-
e
"$file"
?!
AMP
?!
9
rm
-
f
"$file"
10
}
?!
AMP
?!
11
12
sha1_file arg
&&
remove_object arg