3 # Copyright (C) 2007 Yasushi SHOJI <yashi@atmark-techno.com>
13 while case "$#" in 0) break ;; esac
31 if [ -n "$opt_all" ]; then
35 fi |
while read patch; do
36 obj
=`git rev-parse refs/patches/$branch/$patch`
38 # shamelessly taken from Quilt(quilt/quilt/files)
39 if [ -n "$opt_all" ] && [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
42 if [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
48 if [ "$top_patch" != "$patch" ]; then
49 git diff-tree
-r $obj^
$obj
54 while read omode nmode osha1 nsha1 st
file; do
55 if [ -n "$opt_labels" ]; then
56 if [ -n "$opt_verbose" ]; then
63 if [ -z "$use_status" ]; then