summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
98ff9fa)
A `git worktree' has a file for .git. We still want to fsck them. We
can simply run the fsck in the directory containing .git, instead.
That works for ordinary trees with a .git directory, and for
worktrees.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
(
shopt -s nullglob
for d in $tmp/*/.git $tmp/git/*.git; do
(
shopt -s nullglob
for d in $tmp/*/.git $tmp/git/*.git; do