Sign in
googlers
/
jrn
/
git
/
refs/heads/maint
/
.
/
t
/
chainlint
/
function.expect
blob: 9e46a3554a1149b8b8cc18884d41288eff703994 [
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"
?!
LINT
:
missing
'&&'
?!
9
rm
-
f
"$file"
10
}
?!
LINT
:
missing
'&&'
?!
11
12
sha1_file arg
&&
remove_object arg