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 obj
patch; do
34 # shamelessly taken from Quilt(quilt/quilt/files)
35 if [ -n "$opt_all" ] && [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
38 if [ -n "$opt_verbose" ] && [ -z "$opt_labels" ]; then
43 git diff-tree
-r $obj^
$obj |
tr '\t' ' '|
44 while read omode nmode osha1 nsha1 st
file; do
45 if [ -n "$opt_labels" ]; then
46 if [ -n "$opt_verbose" ]; then
53 if [ -z "$use_status" ]; then
57 if [ $osha1 = "0000000000000000000000000000000000000000" ]; then
60 if [ $nsha1 = "0000000000000000000000000000000000000000" ]; then