File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 100100 if test $? -ne 0
101101 then
102102 gettextln " Simple merge did not work, trying automatic merge."
103- git- merge-index -o git-merge-one-file -a ||
103+ git merge-index -o git-merge-one-file -a ||
104104 OCTOPUS_FAILURE=1
105105 next=$( git write-tree 2> /dev/null)
106106 fi
Original file line number Diff line number Diff line change @@ -115,16 +115,16 @@ case "${1:-.}${2:-.}${3:-.}" in
115115 ;;
116116 esac
117117
118- src1=$( git- unpack-file $2 )
119- src2=$( git- unpack-file $3 )
118+ src1=$( git unpack-file $2 )
119+ src2=$( git unpack-file $3 )
120120 case " $1 " in
121121 ' ' )
122122 echo " Added $4 in both, but differently."
123- orig=$( git- unpack-file e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)
123+ orig=$( git unpack-file e69de29bb2d1d6434b8b29ae775ad8c2e48c5391)
124124 ;;
125125 * )
126126 echo " Auto-merging $4 "
127- orig=$( git- unpack-file $1 )
127+ orig=$( git unpack-file $1 )
128128 ;;
129129 esac
130130
Original file line number Diff line number Diff line change 4545 exit 0
4646else
4747 echo " Simple merge failed, trying Automatic merge."
48- if git- merge-index -o git-merge-one-file -a
48+ if git merge-index -o git-merge-one-file -a
4949 then
5050 exit 0
5151 else
Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ apply_stash () {
573573
574574 if test -n " $u_tree "
575575 then
576- GIT_INDEX_FILE=" $TMPindex " git- read-tree " $u_tree " &&
576+ GIT_INDEX_FILE=" $TMPindex " git read-tree " $u_tree " &&
577577 GIT_INDEX_FILE=" $TMPindex " git checkout-index --all &&
578578 rm -f " $TMPindex " ||
579579 die " $( gettext " Could not restore untracked files from stash entry" ) "
Original file line number Diff line number Diff line change @@ -864,7 +864,7 @@ cmd_summary() {
864864 test $status ! = A && test $ignore_config = all && continue
865865 fi
866866 # Also show added or modified modules which are checked out
867- GIT_DIR=" $sm_path /.git" git- rev-parse --git-dir > /dev/null 2>&1 &&
867+ GIT_DIR=" $sm_path /.git" git rev-parse --git-dir > /dev/null 2>&1 &&
868868 printf ' %s\n' " $sm_path "
869869 done
870870 )
@@ -898,11 +898,11 @@ cmd_summary() {
898898 missing_dst=
899899
900900 test $mod_src = 160000 &&
901- ! GIT_DIR=" $name /.git" git- rev-parse -q --verify $sha1_src ^0 > /dev/null &&
901+ ! GIT_DIR=" $name /.git" git rev-parse -q --verify $sha1_src ^0 > /dev/null &&
902902 missing_src=t
903903
904904 test $mod_dst = 160000 &&
905- ! GIT_DIR=" $name /.git" git- rev-parse -q --verify $sha1_dst ^0 > /dev/null &&
905+ ! GIT_DIR=" $name /.git" git rev-parse -q --verify $sha1_dst ^0 > /dev/null &&
906906 missing_dst=t
907907
908908 display_name=$( git submodule--helper relative-path " $name " " $wt_prefix " )
You can’t perform that action at this time.
0 commit comments