Commit d69da76d authored by Miklos Vajna's avatar Miklos Vajna Committed by Junio C Hamano

filter-branch: use git rev-parse -q

Signed-off-by: default avatarMiklos Vajna <>
Signed-off-by: default avatarJunio C Hamano <>
parent ae26e7c7
......@@ -256,7 +256,7 @@ while read commit parents; do
# The commit may not have the subdirectory at all
err=$(git read-tree -i -m $commit:"$filter_subdir" 2>&1) || {
if ! git rev-parse --verify $commit:"$filter_subdir" 2>/dev/null
if ! git rev-parse -q --verify $commit:"$filter_subdir"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment