Re: Why does git checkout -b touch the index?

2016-10-14 Thread Junio C Hamano
David Turner writes: > If I do "git checkout -b fleem", with no additional flags, why does it > need to rewrite the index? Or even read the index? The "reading" part can be explained easily. It needs to show the list of dirty paths, which involves reading the index,

Why does git checkout -b touch the index?

2016-10-14 Thread David Turner
If I do "git checkout -b fleem", with no additional flags, why does it need to rewrite the index? Or even read the index? (this is kind of a bug report, I guess, but it's a pretty minor bug that I only noticed because I was out of hard drive space)