Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: [PATCH v3] worktree: add 'list' command

From: David Turner <hidden>
Date: 2016-06-15 23:06:08

On Mon, 2015-08-10 at 16:53 -0400, Michael Rappazzo wrote:
+			while ((d = readdir(dir)) != NULL) {
I think it would be useful to break this loop out into a
for_each_worktree function.

While looking into per-worktree ref stuff, I have just noticed that git
prune will delete objects that are only referenced in a different
worktree's detached HEAD.  To fix this, git prune will need to walk over
each worktree, looking at that worktree's HEAD (and other per-worktree
refs).  It would be useful to be able to reuse some of this code for
that task.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help