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

2014-07-18 Thread Yue Lin Ho
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. -- To unsubscribe from this list: send the line unsubscribe git

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

2014-07-17 Thread Yue Lin Ho
this message in context: http://git.661346.n2.nabble.com/git-update-index-not-delete-lock-file-when-using-different-worktree-tp7615300p7615306.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord

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

2014-07-17 Thread Duy Nguyen
On Thu, Jul 17, 2014 at 01:27:08AM -0700, Yue Lin Ho wrote: I see that refresh() of update_index.c calls setup_work_tree() to change dir to working tree. And the dir is not changed back to git dir before commit_lock_file() or rollback_lock_file() is called. So, commit_lock_file() rename

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

2014-07-16 Thread Yue Lin Ho
://git.661346.n2.nabble.com/git-update-index-not-delete-lock-file-when-using-different-worktree-tp7615300.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line unsubscribe git in the body of a message to majord...@vger.kernel.org More majordomo