Reference git submodule under review

17 views
Skip to first unread message

Alon Bar-Lev

unread,
Oct 14, 2025, 9:03:53 AM (3 days ago) Oct 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
Reply all
Reply to author
Forward
0 new messages