Re: [PATCH] git-commit: Allow partial commit of file removal.

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

 



Gerrit Pape <pape@xxxxxxxxxxx> writes:

> On Wed, Sep 12, 2007 at 04:04:22PM -0700, Junio C Hamano wrote:
>>  * In my earlier reply to Gerrit, I hinted that we need to
>>    update the pathspec semantics in ls-tree to properly fix this
>>    issue.  I cheated here and have ls-files apply its pathspec
>>    semantics to the entries from HEAD as well.
>
> This fixes the problem reported through http://bugs.debian.org/437817
> just fine, thanks.  Is this an interims-fix, or should the new option
> be documented?

I honestly am not convinced it is the right fix.  It has a few
holes in the logic.

Most notably, I think "git rm --cached A; git commit A" would
not work.
-
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