Re: [PATCH v2 3/3] git-filter-branch: make the error msg when missing branch more open

2017-05-10 Thread Junio C Hamano
Jean-Noel Avila writes: > git-filter-branch requires the specification of a branch by one way or > another. If no branch appears to have been specified, we know the user > got the usage wrong but we don't know what they were trying to do --- > e.g. maybe they specified the ref

[PATCH v2 3/3] git-filter-branch: make the error msg when missing branch more open

2017-05-03 Thread Jean-Noel Avila
git-filter-branch requires the specification of a branch by one way or another. If no branch appears to have been specified, we know the user got the usage wrong but we don't know what they were trying to do --- e.g. maybe they specified the ref to rewrite but in the wrong place. The safest