Ramkumar Ramachandra [off-list ref] 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 ;-)
Junio C Hamano wrote:
Ramkumar Ramachandra [off-list ref] writes:
quoted
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?