Reference git submodule under review

50 views
Skip to first unread message

Alon Bar-Lev

unread,
Oct 14, 2025, 9:03:53 AMOct 14
to Repo and Gerrit Discussion
Hi,

Provided I have two projects:
A - A common project.
B - Uses A as a submodule.

I have a change in A which is under review.
I would like B to reference the change which is not yet merged to be able to use this review locally and also during CI session.

Is there a git-submodule statement that can refer to the change under review? I could not find any expression with --branch or any alternative, the --branch seems to be hardcoded to refs/heads.

Thanks,
Alon

Alon Bar-Lev

unread,
Oct 19, 2025, 5:12:10 AMOct 19
to Repo and Gerrit Discussion
Hi,

Does anyone develop a library that is to be used as a submodule and has successfully applied a link to the change under review?

Thanks,

Reply all
Reply to author
Forward
0 new messages