Re: [RFC/PATCH 0/7] Rework git core for native submodules
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Apr 8, 2013, 19:54 UTC
- Message-ID
- <CALkWK0npHgsf_TyjrMRJdcT-twg_jRXOHtoNpmX+2XNeLq=ZAQ@mail.gmail.com>
- In-Reply-To
- <7vk3ocx0qq.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 7 quoted lines
> Ramkumar Ramachandra <artagnon@gmail.com> writes: > >> Does git diff/ commit/ add/ rm or any other command you can think of >> rely on a special file in the worktree (aka .gitmodules) to be checked >> out? > > Try "git add foo~" with usual suspect in .gitignore ;-)
First, it's not a hard requirement: in the worst case, git add will add the file even without a -f. Second, I've already argued about how I think this is the right design: What part of that do you disagree with? What alternate design do you propose?