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

Re: git update-index not delete lock file when using different worktree

From
Yue Lin Ho <yuelinho777@gmail.com>
Date
Jul 18, 2014, 08:21 UTC
Message-ID
<1405671695257-7615378.post@n2.nabble.com>
In-Reply-To
<20140717103654.GA18897@lanh>
Hi Duy:

I tested your patch. It works. :) (only one case.)

Thank you.
There are 26 hold_locked_index() in these files:

Line 475 of builtin\add.c Line 4234 of \builtin\apply.c Line 259 of \builtin\checkout.c Line 448 of \builtin\checkout.c Line 139 of \builtin\checkout-index.c Line 643 of \builtin\clone.c Line 323 of \builtin\commit.c Line 362 of \builtin\commit.c Line 383 of \builtin\commit.c Line 434 of \builtin\commit.c Line 1295 of \builtin\commit.c Line 479 of \builtin\describe.c Line 211 of \builtin\diff.c Line 660 of \builtin\merge.c Line 700 of \builtin\merge.c Line 88 of \builtin\mv.c Line 152 of \builtin\read-tree.c Line 338 of \builtin\reset.c Line 296 of \builtin\rm.c Line 808 of \builtin\update-index.c Line 588 of \cache-tree.c Line 75 of \merge.c Line 2004 of \merge-recursive.c Line 482 of \rerere.c Line 301 of \sequencer.c Line 671 of \sequencer.c

Yue Lin

-- View this message in context: http://git.661346.n2.nabble.com/git-update-index-not-delete-lock-file-when-using-different-worktree-tp7615300p7615378.html Sent from the git mailing list archive at Nabble.com.

Previous: Duy Nguyen
Message 4 of 4 in “git update-index not delete lock file when using different worktree”
  1. Yue Lin HoJul 17, 2014
  2. Yue Lin HoJul 17, 2014
  3. Duy NguyenJul 17, 2014
  4. Yue Lin HoJul 18, 2014

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.