Bug#684169: git checkout --orphan automatically adds all files in current branch

2012-08-07 Thread Jonathan Nieder
tags 684169 + upstream # documentation severity 684169 minor reassign 684169 git-doc 1:1.7.10.4-1 quit Hi Mika, Mika Suomalainen wrote: git checkout --orphan somebranch touch something git add something And all files from branch before somebranch are git added. git-checkout(1) explains:

Bug#684169: git checkout --orphan automatically adds all files in current branch

2012-08-07 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07.08.2012 18:19, Jonathan Nieder wrote: git-checkout(1) explains: If you want to start a disconnected history that records a set of paths that is totally different from the one of start_point, then you should clear the index and the

Bug#684169: git checkout --orphan automatically adds all files in current branch

2012-08-07 Thread Jonathan Nieder
Hi Mika, Mika Suomalainen wrote: Last time when I needed git checkout --orphan, it created branch without any files. I'm pretty sure it always had the current semantics. Perhaps the index did not contain any files before you ran git checkout --orphan last time? [...] I don't think that a

Bug#684169: git checkout --orphan automatically adds all files in current branch

2012-08-07 Thread Mika Suomalainen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 07.08.2012 18:39, Jonathan Nieder wrote: Last time when I needed git checkout --orphan, it created branch without any files. I'm pretty sure it always had the current semantics. Perhaps the index did not contain any files before you ran