Re: How to "git add ." when some files are not accessible (permission denied)?

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

 



Dirk Süsserott, Sat, Mar 01, 2008 14:46:28 +0100:
> Or, more generally spoken: can I tell "git add" to add only those files it 
> can handle and ignore the rest? The "-f" switch doesn't work and some
> exclude lists on a per file basis are not applicable for my purpose as I
> don't know the files in advance.

Well, "-f" means something else (include the ignored files). It is
unfortunate, because (I think) your case fits better its traditional
meaning...

You can try the following patches, which add "--ignore-errors" to
git-add. Maybe it will be enough... It is generally considered
not safe to ignore errors.

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

  Powered by Linux