git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH guilt] guilt-rebase: Make fast-forward work
@ 2007-07-28 12:22 Eric Lesh
  2007-07-28 20:40 ` Josef Sipek
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Lesh @ 2007-07-28 12:22 UTC (permalink / raw)
  To: Josef Sipek; +Cc: Git mailing list

Merges created with --no-commit and a blank commit message didn't update
the branch's HEAD in a fast-forward merge. Rebasing didn't actually do
anything in that case.

Also quote the log message when displaying the new HEAD.

Signed-off-by: Eric Lesh <eclesh@ucla.edu>
---
 guilt-rebase |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/guilt-rebase b/guilt-rebase
index cc8dcf6..f7de813 100755
--- a/guilt-rebase
+++ b/guilt-rebase
@@ -49,11 +49,11 @@ cp "$applied" "$rebase_dir/status"
 
 echo "First, poping all patches..."
 pop_all_patches
-git-merge --no-commit "" HEAD $upstream > /dev/null 2> /dev/null
+git-merge --no-commit $upstream > /dev/null 2> /dev/null
 
 echo ""
 log=`git-log -1 --pretty=oneline`
-echo "HEAD is now at `echo $log | cut -c 1-7`... `echo $log | cut -c 41-`"
+echo "HEAD is now at `echo $log | cut -c 1-7`... `echo "$log" | cut -c 41-`"
 
 #
 # For each previously applied patch:
-- 
1.5.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH guilt] guilt-rebase: Make fast-forward work
  2007-07-28 12:22 [PATCH guilt] guilt-rebase: Make fast-forward work Eric Lesh
@ 2007-07-28 20:40 ` Josef Sipek
  0 siblings, 0 replies; 2+ messages in thread
From: Josef Sipek @ 2007-07-28 20:40 UTC (permalink / raw)
  To: Eric Lesh; +Cc: Josef Sipek, Git mailing list

On Sat, Jul 28, 2007 at 05:22:12AM -0700, Eric Lesh wrote:
> Merges created with --no-commit and a blank commit message didn't update
> the branch's HEAD in a fast-forward merge. Rebasing didn't actually do
> anything in that case.
> 
> Also quote the log message when displaying the new HEAD.
 
Applied. Thanks.

Josef 'Jeff' Sipek.

-- 
You measure democracy by the freedom it gives its dissidents, not the
freedom it gives its assimilated conformists.
		- Abbie Hoffman

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-28 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-28 12:22 [PATCH guilt] guilt-rebase: Make fast-forward work Eric Lesh
2007-07-28 20:40 ` Josef Sipek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).