Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-11 Thread Jeff King
On Thu, Jan 11, 2018 at 03:14:07PM -0800, Junio C Hamano wrote: > >> Doesn't "git read-tree --prefix=previous HEAD^" add paths like > >> "previous/Documentation/Makefile" to the index, i.e. instead of > >> forcing you to have the required slash at the end, we give one for > >> free when it is miss

Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-11 Thread Junio C Hamano
Jeff King writes: > On Thu, Jan 11, 2018 at 11:02:04AM -0800, Junio C Hamano wrote: > >> >> ---prefix=/:: >> >> +--prefix=:: >> >> Keep the current index contents, and read the contents >> >> of the named tree-ish under the directory at ``. >> >> The command will refuse to overwrite entries

Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-11 Thread Jeff King
On Thu, Jan 11, 2018 at 11:02:04AM -0800, Junio C Hamano wrote: > >> ---prefix=/:: > >> +--prefix=:: > >>Keep the current index contents, and read the contents > >>of the named tree-ish under the directory at ``. > >>The command will refuse to overwrite entries that already > >> - exi

Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-11 Thread Junio C Hamano
Jeff King writes: > On Tue, Jan 09, 2018 at 04:30:34PM +0100, Andreas G. Schacker wrote: > >> Earlier versions of `git read-tree` required the `--prefix` option value >> to end with a slash. This restriction was eventually lifted without a >> corresponding amendment to the documentation. > > Make

Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-11 Thread Jeff King
On Tue, Jan 09, 2018 at 04:30:34PM +0100, Andreas G. Schacker wrote: > Earlier versions of `git read-tree` required the `--prefix` option value > to end with a slash. This restriction was eventually lifted without a > corresponding amendment to the documentation. Makes sense. > ---prefix=/:: > +

Re: [PATCH] doc/read-tree: remove obsolete remark

2018-01-09 Thread Junio C Hamano
"Andreas G. Schacker" writes: > Earlier versions of `git read-tree` required the `--prefix` option value > to end with a slash. This restriction was eventually lifted without a > corresponding amendment to the documentation. > > Signed-off-by: Andreas G. Schacker > --- Thanks. "read-tree --pre

[PATCH] doc/read-tree: remove obsolete remark

2018-01-09 Thread Andreas G. Schacker
Earlier versions of `git read-tree` required the `--prefix` option value to end with a slash. This restriction was eventually lifted without a corresponding amendment to the documentation. Signed-off-by: Andreas G. Schacker --- Documentation/git-read-tree.txt | 5 ++--- 1 file changed, 2 inserti