Re: What exactly is a "initial checkout"

2018-11-07 Thread Philip Oakley
On 07/11/2018 08:50, Christian Halstrick wrote: Ok, I know understand the problems which are solved by this special behaviour of a "initial checkout". And also important I understand when exactly I should do a "initial checkout" - when the index file does not exist. I'll share my new knowledge wi

Re: What exactly is a "initial checkout"

2018-11-07 Thread Christian Halstrick
Ok, I know understand the problems which are solved by this special behaviour of a "initial checkout". And also important I understand when exactly I should do a "initial checkout" - when the index file does not exist. I'll share my new knowledge with JGit :-)

Re: What exactly is a "initial checkout"

2018-11-06 Thread Junio C Hamano
Christian Halstrick writes: > I am trying to teach JGit [1] to behave like native git regarding some > corner cases during "git checkout". I am reading the "git read-tree" > documentation and I am not sure about the case [2]. Git should behave > differently during a normal checkout than when you

Re: What exactly is a "initial checkout"

2018-11-06 Thread Jeff King
On Tue, Nov 06, 2018 at 01:38:45PM +0100, Christian Halstrick wrote: > I am trying to teach JGit [1] to behave like native git regarding some > corner cases during "git checkout". I am reading the "git read-tree" > documentation and I am not sure about the case [2]. Git should behave > differently

What exactly is a "initial checkout"

2018-11-06 Thread Christian Halstrick
I am trying to teach JGit [1] to behave like native git regarding some corner cases during "git checkout". I am reading the "git read-tree" documentation and I am not sure about the case [2]. Git should behave differently during a normal checkout than when you are doing a "initial checkout". I can