3 GIT_DIR
=`git-rev-parse --git-dir` ||
exit $?
4 laf
="$GIT_DIR/lost-found"
5 rm -fr "$laf" && mkdir
-p "$laf/commit" "$laf/other" ||
exit
8 while read dangling
type sha1
12 if git-rev-parse
--verify "$sha1^0" >/dev
/null
2>/dev
/null
15 git-show-branch
"$sha1"
19 echo "$sha1" >"$dir/$sha1"