Thread (247 messages) flat view 247 messages, 9 authors, 2021-12-11

Re: [PATCH v4 04/15] scalar: 'register' sets recommended config and starts maintenance

From: Elijah Newren <hidden>
Date: 2021-09-28 05:05:32

Sorry, one more thing...

On Tue, Sep 14, 2021 at 7:39 AM Derrick Stolee via GitGitGadget
[off-list ref] wrote:
...
+               /* check if currently in enlistment root with src/ workdir */
+               strbuf_addstr(&path, "/src/.git");
+               if (is_git_directory(path.buf)) {
...and...
+               /* check if currently in workdir */
+               strbuf_addstr(&path, "/.git");
+               if (is_git_directory(path.buf)) {
Do these two checks suggest that only a primary worktree can be
enlisted with scalar?  (Is git-worktree generally incompatible?)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help