X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=git-lost-found.sh;h=c0b00e0fd143ab9d96933f2d39baa94e7e50e0ef;hb=acef41c9db33f2261e46e17cca098df3403dd745;hp=58570dff137adfdeb72ebf3f088af7379eded522;hpb=566f5b217df73d6a642a0857cc5c13c11f84e7c3;p=git.git diff --git a/git-lost-found.sh b/git-lost-found.sh index 58570dff1..c0b00e0fd 100755 --- a/git-lost-found.sh +++ b/git-lost-found.sh @@ -17,10 +17,10 @@ while read dangling type sha1 do case "$dangling" in dangling) - if git-rev-parse --verify "$sha1^0" >/dev/null 2>/dev/null + if git rev-parse --verify "$sha1^0" >/dev/null 2>/dev/null then dir="$laf/commit" - git-show-branch "$sha1" + git show-branch "$sha1" else dir="$laf/other" fi