git-whatchangedon commit [PATCH] git-branch: avoid getting confused by empty or nonexisting branches. (a38e727)
   1#!/bin/sh
   2rev_list_args=$(git-rev-parse --sq --default HEAD --revs-only "$@") &&
   3diff_tree_args=$(git-rev-parse --sq --no-revs "$@") &&
   4
   5eval "git-rev-list $rev_list_args" |
   6eval "git-diff-tree --stdin --pretty -r $diff_tree_args" |
   7LESS="$LESS -S" ${PAGER:-less}