mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
0fc65a4572
Linus said: "Let's see what else I forgot.." Not that many, but here they are. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2 lines
139 B
Bash
Executable file
2 lines
139 B
Bash
Executable file
#!/bin/sh
|
|
git-fsck-cache --unreachable $(cat .git/HEAD ) | grep unreachable | cut -d' ' -f3 | sed 's:^\(..\):.git/objects/\1/:' | xargs rm
|