3 # List all commits done on topic branche
5 USAGE
='[options|-h] topic [branch_name]'
6 LONG_USAGE
='List all commits done on topic branche
7 options to pass to git log
8 branch is optional, default to master
11 if [ "$1" = "" ]; then
17 if [ "$2" = "" ]; then
23 exec_path
=$
(git
--exec-path)
24 .
$exec_path/git-sh-setup
32 $
(git rev-list
--boundary $topic...
$branch |
grep ^
- | cut
-c2- \
33 |
( read one
; echo $one...
$topic ))
36 test "$#" = "0" && usage
&& exit 1;
40 while [ "$#" != "0" ]; do
50 test "$1" != "" && branch
=$1
51 list_commits
$topic $branch