Re: [PATCH v3 3/4] cat-file --textconv/--filters: allow specifying the path separately

2016-09-10 Thread Johannes Schindelin
Hi Junio, On Fri, 9 Sep 2016, Junio C Hamano wrote: > Johannes Schindelin writes: > > > +test_expect_success 'path= complains without > > --textconv/--filters' ' > > I wonder where this "path" came from; it wasn't in v2 I queued, > but somehow came back

Re: [PATCH v3 3/4] cat-file --textconv/--filters: allow specifying the path separately

2016-09-09 Thread Junio C Hamano
Johannes Schindelin writes: > +test_expect_success 'path= complains without --textconv/--filters' > ' I wonder where this "path" came from; it wasn't in v2 I queued, but somehow came back mysteriously. Will locally amend. > + sha1=$(git rev-parse -q

[PATCH v3 3/4] cat-file --textconv/--filters: allow specifying the path separately

2016-09-09 Thread Johannes Schindelin
There are circumstances when it is relatively easy to figure out the object name for a given path, but not the name of the containing tree. For example, when looking at a diff generated by Git, the object names are recorded, but not the revision. As a matter of fact, the revisions from which the