Support namespaced references again#4154
Support namespaced references again#4154
Conversation
These simple tests only ensure that we enforce the existence of a namespace; these mirror the rugged tests, they are not exhaustive.
|
So there are two things here that probably bear discussion:
|
carlosmn
left a comment
There was a problem hiding this comment.
Namespaces are such an underused feature that I'm happy with just proving the minimal support works. We can worry about their interaction with worktrees if someone ever actually cares.
Support
git_repository_set_namespaceagain (the equivalent ofGIT_NAMESPACE); this was subtly broken with worktree support.This adds a simple namespace test (equivalent to rugged's) and simplifies the namespace handling by simply appending the namespace (if it exists) to the gitdir and commondir.
/cc @carlosmn