From: Jonathan Nieder Date: Tue, 19 Dec 2017 23:15:44 GMT Subject: Re: [PATCH 5/5] submodule: submodule_move_head omits old argument in forced case Message-ID: <20171219231544.GH240141@aiede.mtv.corp.google.com> In-Reply-To: Hi, Stefan Beller wrote: > On Tue, Dec 19, 2017 at 2:44 PM, Jonathan Nieder wrote: >> checkout -f >> I think I would expect this not to touch a submodule that >> hasn't changed, since that would be consistent with its >> behavior on files that haven't changed. [...] > I may have a different understanding of git commands than you do, > but a plain "checkout -f" with no further arguments is the same as > a hard reset IMHO, and could be used interchangeably? Ah, good catch. Filed https://crbug.com/git/5 to clarify this in documentation. Thanks for clarifying. Jonathan