3 # Copyright (C) 2007 Yasushi SHOJI <yashi@atmark-techno.com>
7 if [ -z "$GUILT_VERSION" ]; then
8 echo "Invoking `basename $0` directly is no longer supported." >&2
18 while case "$#" in 0) break ;; esac
36 if [ -n "$opt_all" ]; then
40 fi |
while read patch; do
41 obj
=`git rev-parse refs/patches/$branch/$patch`
43 # shamelessly taken from Quilt(quilt/quilt/files)
44 if [ -n "$opt_all" ] && [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
47 if [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
53 if [ "$top_patch" != "$patch" ]; then
54 git diff-tree
-r $obj^
$obj
59 while read omode nmode osha1 nsha1 st
file; do
60 if [ -n "$opt_labels" ]; then
61 if [ -n "$opt_verbose" ]; then
68 if [ -z "$use_status" ]; then