We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75e9be5 commit cd20e0eCopy full SHA for cd20e0e
git-recover
@@ -96,8 +96,9 @@ function find_unreachable() {
96
97
if [ $DO_FULL == 1 ]; then FULLNESS="--full"; fi
98
99
- BLOBS=($(git fsck --unreachable --no-reflogs \
100
- "${FULLNESS}" --no-progress | sed -ne 's/^unreachable blob //p'))
+ BLOBS=($(git fsck --unreachable --no-reflogs "${FULLNESS}" \
+ --no-progress 2>/dev/null | \
101
+ sed -E -ne 's/^unreachable blob |dangling blob //p'))
102
}
103
104
function read_one_file {
0 commit comments