Re: [PATCH v2] filter-branch: fix errors caused by refs that cannot be used with ^0

2018-03-23 Thread Junio C Hamano
Yuki Kokubun writes: > "git filter-branch -- --all" print unwanted error messages when refs that > cannot be used with ^0 exist. It is not incorrect per-se, but if I were writing this, I'd say "... when refs that point at objects that are not committish" or something

[PATCH v2] filter-branch: fix errors caused by refs that cannot be used with ^0

2018-03-22 Thread Yuki Kokubun
"git filter-branch -- --all" print unwanted error messages when refs that cannot be used with ^0 exist. Such refs can be created by "git replace" with trees or blobs. Also, "git tag" with trees or blobs can create such refs. --- git-filter-branch.sh | 14 --