Debian Codegraph @

devel-tools/git-show-fastpath

raw
1 #! /usr/bin/env bash
2 #
3 # Shows pending fastpath commits for all modules.
4
5 show="git show-ref -q origin/fastpath && git --no-pager log --format=oneline origin/fastpath ^master || exit 0"
6
7 ( echo "Entering <top-level>" && eval $show && git submodule foreach --recursive "$show" ) | awk '
8
9 /Entering/ { current = $2; next }
10
11 {
12 if ( current != "" )
13 print "==" current;
14
15 print;
16
17 current = "";
18 }
19 '