Re: [PATCH v3] filter-branch: fix errors caused by refs that point at non-committish

2018-03-25 Thread Junio C Hamano
Yuki Kokubun writes: > References: > > <5ab46520.0352650a.cc02b.a...@mx.google.com> > <20180323050913.5188-1-orga.chem@gmail.com> > Content-Type: text/plain >

Re: [PATCH v3] filter-branch: fix errors caused by refs that point at non-committish

2018-03-25 Thread Yuki Kokubun
References: <5ab46520.0352650a.cc02b.a...@mx.google.com> <20180323050913.5188-1-orga.chem@gmail.com> Content-Type: text/plain > Grammo (third-person singular 'prints' misspelt

Re: [PATCH v3] filter-branch: fix errors caused by refs that point at non-committish

2018-03-25 Thread Junio C Hamano
Yuki Kokubun writes: > "git filter-branch -- --all" print error messages when refs that point at > objects that are not committish. Grammo (third-person singular 'prints' misspelt without 's'; the "when" clause has a complex subject but no verb). Perhaps this will

[PATCH v3] filter-branch: fix errors caused by refs that point at non-committish

2018-03-24 Thread Yuki Kokubun
"git filter-branch -- --all" print error messages when refs that point at objects that are not committish. Such refs can be created by "git replace" with trees or blobs. And also "git tag" with trees or blobs can create such refs. Filter these problematic refs out early, before they are seen by