Re: [RFC/PATCH] git-add: Don't exclude explicitly-specified tracked files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I think "git add ignore-dir/file" above should act exactly like "git
> add file", and not force me to add a "-f" to "git add".
I agree.  That seems very much like the correct behavior.  FWIW, prior
to sending the patch I hadn't noticed that 'git add file' already
works without a '-f', which is why my commit message doesn't mention
it.

Anyway, I'm not sure if there's consensus on this being the right
behavior.  Thus I will take Matthieu's advice and propose a test-case
for the desired behavior.  I'll send that under separate cover in a
few moments.

Thanks everyone for contributing your thoughts thus far.

Greg
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]