Re: [PATCH] Fix branch renaming not updating HEADs correctly

2017-08-24 Thread Nish Aravamudan
uld always return good "head_ref" in orphan checkouts (either > temporary or permanent). With good head_ref, things start to work again. > > Noticed-by: Nish Aravamudan > Signed-off-by: Nguyễn Thái Ngọc Duy Tested-by: Nish Aravamudan Thank you for the quick turnaround on th

Undocumented change in `git branch -M` behavior

2017-08-23 Thread Nish Aravamudan
Hello, Hopefully, I've got this right -- I noticed a change in behavior in git with Ubuntu 17.10, which recently got 2.14.1. Specifically, that when in an orphaned branch, -M ends up moving HEAD to the new branch name, clobbering the working tree. As far as I know, from the manpages, orphaned bran