Open elmpp opened 4 years ago
friendly ping @admorgan @grimmySwe
I'm wondering what's the best way to proceed here.
I could probably hack something together but it having a branch --remote
maybe could be useful for other scenarios 🤷
I am going to have to admit that I am having trouble visualizing what is going on here. subrepo fetch already supports a -b and -r option. It does not update your .gitrepo and does everything that you have requested as far as I can tell.
Thanks for this library - it's really helped me see into git machinations that have always scared me
I've a subrepo
A
.A
is a fork ofB
. All pulls/pushes will be toA
(and then synced by other processesA
->B
/B
->A
) so the meta file remains pointed toA
(following initialsubrepo clone
)However, for my project, i'm looking to compute the commit diffs from the subrepo with respect to
B
. Currently, i can very easily rungit subrepo branch %package_path% --fetch --force
and find the commit diffs using the refsubrepo/%package_path%/fetch
against the branch head ref but this is for repoA
obviouslyI am wondering if there is any way to recreating the result of a
--remote
option onbranch
(or otherwise). This is the only repoB
operation so am hoping to achieve my goal using command options rather that affecting the meta file