3 # Copyright (C) 2007 Yasushi SHOJI <yashi@atmark-techno.com>
13 while case "$#" in 0) break ;; esac
29 if [ -n "$opt_all" ]; then
33 fi |
while read patch; do
34 obj
=`git rev-parse refs/patches/$branch/$patch`
36 # shamelessly taken from Quilt(quilt/quilt/files)
37 if [ -n "$opt_all" ] && [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
40 if [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
45 git diff-tree
-r $obj^
$obj |
tr '\t' ' '|
46 while read omode nmode osha1 nsha1 st
file; do
47 if [ -n "$opt_labels" ]; then
48 if [ -n "$opt_verbose" ]; then
55 if [ -z "$use_status" ]; then
59 if [ $osha1 = "0000000000000000000000000000000000000000" ]; then
62 if [ $nsha1 = "0000000000000000000000000000000000000000" ]; then