git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: When a file was locked by some program, git will work stupidly

From
MSMr Guillaume Seren <guillaumeseren@gmail.com>
Date
Nov 2, 2015, 14:41 UTC
Message-ID
<144647528273.8071.637981592426422555@t440s>
In-Reply-To
<CABEb4T7V=WEi-ZZm7ywOFASm+=LtAyOz53gqv-jjuzF-3=veeA@mail.gmail.com>
Quoting dayong xie (2015-11-02 05:56:55)
Show 28 quoted lines
> To be specific
> In my Unity project, there is a native plugin,  and plugin's extension
> is .dll, and this plugin is
> under git version control, when Unity is running, the plugin file will
> be locked.
> If i merge another branch, which contains modification of the plugin,
> git will report error, looks
> like:
> error: unable to unlink old 'xxxxxxx/xxx.dll' (Permission denied)
> This is not bad, however, the unfinished merge action will not revert
> by git, a lot of changes
> produced in repository.
> usually it makes me crazy, even worse, some of my partners are not
> good at using git.
> Of course, this problem can be avoided by quit Unity, but not every
> time we can remember. In
> my opinion, git should revert the unfinished action when the error
> occurred, not just stop.
> 
> -- 
> --------------------------------------------------------------
> Best Regards,
> John Xie
> --------------------------------------------------------------
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--------------------
| Mr Guillaume Seren
|
| website: http://www.guillaumeseren.com/
| github: https://github.com/GuillaumeSeren
--------------------
Previous: Lasse MakholmNext: Mr Guillaume Seren
Message 4 of 5 in “When a file was locked by some program, git will work stupidly”
  1. dayong xieNov 2, 2015
  2. Randall S. BeckerNov 2, 2015
  3. Lasse MakholmNov 4, 2015
  4. Mr Guillaume SerenNov 2, 2015
  5. Mr Guillaume SerenNov 3, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.