Skip to main content

Module refs

Module refs 

Source
Expand description

Target header, ref update list, and pull summary.

Structs§

RefGroup
One fetched repository’s ref updates. submodule names the submodule for a recursive fetch.

Functions§

all_up_to_date
render_messages
git’s leftover stderr lines: error:/fatal: prefix red, warning: yellow, hint: lines dim.
render_pull_summary
Pull’s stdout after the fetch (also clone’s), colored line by line. Unknown lines are printed unchanged; Submodule path lines are gathered into a “Submodules” section at the end.
render_ref
render_ref_groups
Each group with updates under its own header; groups without updates print nothing.
render_refs
Target (if any) then each ref.
render_target
-> <target> line; URL forms become links.
render_up_to_date