Skip to content

Commit b3d9243

Browse files
committed
admit '--dates' switch for arbitrary branch comparisons
1 parent d613b3e commit b3d9243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-branch-status

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ function Init # (cli_args)
328328
case "$1" in
329329
'-a'|'--all' ) show_all=1 ;;
330330
'-b'|'--branch' ) [ "$2" ] && branch_a="$2" || branch_a=$(GetCurrentBranch) ;;
331-
'-d'|'--dates' ) show_dates=1 ;;
331+
'-d'|'--dates' ) branch_a="$2" ; branch_b="$3" ; show_dates=1 ;;
332332
'-h'|'--help' ) EXIT "$USAGE" $EXIT_SUCCESS ;;
333333
'-l'|'--local' ) show_all_local=1 ; show_all_synced=1 ; ;;
334334
'-r'|'--remotes' ) show_all_remote=1 ; show_all_synced=1 ; ;;

0 commit comments

Comments
 (0)