recent changes to gitdiff.sh
Hi,
I see the recent changes to gitdiff.sh requires you to pass -r (git diff -r local:$tracking) even if you separate the branches via ':'. Is this intended (seems like it)? If so, then gittrack.sh, gitpull.sh and gitmerge.sh needs to be updated ...
(I did not want to add a patch as I am not sure which it is)
Thanks,
Signature · 1 line
Martin Schlemmer
Dear diary, on Mon, Apr 18, 2005 at 12:40:08PM CEST, I got a letter where Martin Schlemmer <[email protected]> told me that...
Quoted 1 line
Hi,
Hello,
Quoted 3 lines
I see the recent changes to
gitdiff.shrequires you to pass -r (git diff -r local:$tracking) even if you separate the branches via ':'. Is this intended (seems like it)?
yes. This brings the usage style in sync with the rest of the world. :-)
Quoted 2 lines
If so, then
gittrack.sh,gitpull.shandgitmerge.shneeds to be updated ...
I hopes I updated all the places. If I missed anything, please say what.
Signature · 3 lines
Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
Quoted 10 lines · Petr Baudis
Dear diary, on Mon, Apr 18, 2005 at 12:40:08PM CEST, I got a letter where Martin Schlemmer <[email protected]> told me that...
Quoted 1 line
Hi,
Hello,
Quoted 3 lines
I see the recent changes to
gitdiff.shrequires you to pass -r (git diff -r local:$tracking) even if you separate the branches via ':'. Is this intended (seems like it)?
Quoted 7 lines
yes. This brings the usage style in sync with the rest of the world. :-)
Quoted 2 lines
If so, then
gittrack.sh,gitpull.shandgitmerge.shneeds to be updated ...I hopes I updated all the places. If I missed anything, please say what.
Update calls to gitdiff.sh to include the '-r' switch.
gitmerge.sh: 7ea441e584d603463fb1b83991b88f63a3895cff
gitmerge.sh 2005-04-18 12:55:34.000000000 +0200 renamed from gitmerge.sh +1 -1
@@ -67,7 +67,7 @@ fi update-cache --refresh -gitdiff.sh "$base":"$branch" | gitapply.sh +gitdiff.sh -r "$base":"$branch" | gitapply.sh cat >&2 <<__END__ Please inspect the merge in the ,,merge/ subdirectory. Commit from that
gitpull.sh: 9bda6555a1dafc1db762bc46db60d2a9485dc523
gitpull.sh 2005-04-18 12:55:34.000000000 +0200 renamed from gitpull.sh +1 -1
@@ -73,7 +73,7 @@ gitmerge.sh -b "$orig_head" "$new_head" else - gitdiff.sh "$orig_head":"$new_head" | gitapply.sh + gitdiff.sh -r "$orig_head":"$new_head" | gitapply.sh read-tree $(tree-id $new_head) echo $new_head >.git/HEAD
gittrack.sh: 30654380c10edde32def8e5fa2e2c956fbff3d58
gittrack.sh 2005-04-18 12:55:34.000000000 +0200 renamed from gittrack.sh +2 -2
@@ -50,7 +50,7 @@ echo $name >.git/tracking read-tree $(tree-id "$name") - gitdiff.sh local:"$name" | gitapply.sh + gitdiff.sh -r local:"$name" | gitapply.sh update-cache --refresh else
@@ -60,7 +60,7 @@ die "tracked \"$tracking\" branch missing!" if [ -s ".git/HEAD.local" ]; then - gitdiff.sh "$tracking":local | gitapply.sh + gitdiff.sh -r "$tracking":local | gitapply.sh read-tree $(tree-id local) update-cache --refresh
Signature · 1 line
Martin Schlemmer
gitmerge.sh: 7ea441e584d603463fb1b83991b88f63a3895cff
gitmerge.sh +1 -1
@@ -67,7 +67,7 @@ fi update-cache --refresh -gitdiff.sh "$base":"$branch" | gitapply.sh +gitdiff.sh -r "$base":"$branch" | gitapply.sh cat >&2 <<__END__ Please inspect the merge in the ,,merge/ subdirectory. Commit from that
gitpull.sh: 9bda6555a1dafc1db762bc46db60d2a9485dc523
gitpull.sh +1 -1
@@ -73,7 +73,7 @@ gitmerge.sh -b "$orig_head" "$new_head" else - gitdiff.sh "$orig_head":"$new_head" | gitapply.sh + gitdiff.sh -r "$orig_head":"$new_head" | gitapply.sh read-tree $(tree-id $new_head) echo $new_head >.git/HEAD
gittrack.sh: 30654380c10edde32def8e5fa2e2c956fbff3d58
gittrack.sh +2 -2
@@ -50,7 +50,7 @@ echo $name >.git/tracking read-tree $(tree-id "$name") - gitdiff.sh local:"$name" | gitapply.sh + gitdiff.sh -r local:"$name" | gitapply.sh update-cache --refresh else
@@ -60,7 +60,7 @@ die "tracked \"$tracking\" branch missing!" if [ -s ".git/HEAD.local" ]; then - gitdiff.sh "$tracking":local | gitapply.sh + gitdiff.sh -r "$tracking":local | gitapply.sh read-tree $(tree-id local) update-cache --refresh