AW: Git revert cannot be aborted if the repository directory has been copied

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

 



On Sun, Nov 3, 2024, at 16:13, Kristoffer Haugsbakk wrote:
> Okay, I missed that `git update-index --really-refresh` previously.
> 
> I’m not a technical expert but is there a use-case here?  Or did you
> find this by accident while doing something else?

I stumbled upon this behavior while working on some Git scripts. For these, I've prepared template repositories which I then copy and run the scripts on. This specific scenario in which I want to abort a revert in progress is, so far, the only scenario where this copying causes problems. All other Git commands I've used seem to simply ignore it or "refresh the index" on their own. For example, "git cherry-pick --abort" does not run into this problems for me.




[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