Thread (234 messages) flat view 234 messages, 5 authors, 2017-04-07

Re: [PATCH 07/11] files-backend: remove the use of git_path()

From: Stefan Beller <hidden>
Date: 2017-02-13 23:09:46

+
+       if (submodule) {
+               refs->submodule = xstrdup_or_null(submodule);
drop the _or_null here?

So in this patch we have either
* submodule set
* or gitdir/gitcommondir set

which means that we exercise the commondir for regular repos.
In the future when we want to be able to have a combination of worktrees
and submodules this ought to be possible by setting submodule != NULL
and still populating the gitdir/commondir buffers.

Thanks,
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help