Re: Feature request: Config option for --no-ignore-removal/--ignore-removal

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

 



Junio C Hamano wrote:
> Matthew Cline <matt@xxxxxxxxxxxxxxx> writes:
> 
> > When I try to a plain old "git add ." when files have been
> > deleted/moved, I get the warning
> >
> >> You ran 'git add' with neither '-A (--all)' or '--ignore-removal'
> >
> > There should be some way to put something in ~/.gitconfig to tell git to
> > always choose one or another.
> 
> The lack of configurability is very much deliberate.
> 
> Adding such knobs that make basic behaviour of Git different
> depending on the per-user setting will make it unnecessarily harder
> to run to help your coworker when she is having problems.  "git add
> directory" you type in her terminal during the session to help her
> could work differently from the way you are used to, if we added
> such a knob.

That's going to happen regardless. You are assuming she is running Git v2.0,
which she might not.

-- 
Felipe Contreras
--
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]