Re: Hard reset of a subdirectory in a sparse checkout setting

2013-03-23 Thread Kirill Müller
On 03/23/2013 10:59 AM, Duy Nguyen wrote: On Fri, Mar 22, 2013 at 5:28 PM, Kirill Müller wrote: What's the proper way to do this in Git? I think adding --sparse to git checkout may be more user-friendly. And it looks like a simple change. I'll make a patch soon (I need some time to recall how

Re: Hard reset of a subdirectory in a sparse checkout setting

2013-03-23 Thread Duy Nguyen
On Fri, Mar 22, 2013 at 5:28 PM, Kirill Müller wrote: > I can't find a neat way to "git reset --hard" a subdirectory of a checkout > without reading in directories or files which are excluded by a sparse > checkout. This has been asked on StackOverflow in greater detail, but the > "right" answer i