All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Fix support for merge options.
@ 2018-05-05 13:24 Yann Dirson
  2018-05-05 13:24 ` [PATCH 2/2] Fix wrong merge-base invocation preventing detection of up-to-date branches Yann Dirson
  2018-05-05 13:40 ` [PATCH 1/2] Fix support for merge options Christian Couder
  0 siblings, 2 replies; 5+ messages in thread
From: Yann Dirson @ 2018-05-05 13:24 UTC (permalink / raw)
  To: Felipe Contreras; +Cc: git, Yann Dirson

---
 git-reintegrate | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/git-reintegrate b/git-reintegrate
index a1c17d2..da45239 100755
--- a/git-reintegrate
+++ b/git-reintegrate
@@ -338,7 +338,7 @@ class Integration
   def finalize_command(cmd, args, message)
     begin
       fun = @@map[cmd] || "cmd_#{cmd}".to_sym
-      send(fun, message, *args)
+      send(fun, message, *args.split(' '))
     rescue NoMethodError
       raise Integration::Stop, "Unknown command: #{cmd}"
     end
@@ -559,7 +559,7 @@ def do_apply
   inst = inst.lines.reject do |line|
     next true if line =~ /^base /
     if line =~ /^merge (.*)$/
-      system(*%W[git merge-base --is-ancestor #{$1} HEAD])
+      system(*%W[git merge-base --is-ancestor #{$1.split(' ')[0]} HEAD])
       next true if $?.success?
     end
     false
@@ -621,7 +621,7 @@ def do_status
     when 'base'
       $status_base = args
     when 'merge'
-      status_merge(*args)
+      status_merge(*args.split(' ')[0])
     when '.'
       status_dot(*args)
     else
-- 
2.11.0


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

end of thread, other threads:[~2018-05-05 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-05 13:24 [PATCH 1/2] Fix support for merge options Yann Dirson
2018-05-05 13:24 ` [PATCH 2/2] Fix wrong merge-base invocation preventing detection of up-to-date branches Yann Dirson
2018-05-05 13:40 ` [PATCH 1/2] Fix support for merge options Christian Couder
2018-05-05 15:41   ` ydirson
2018-05-05 15:53     ` Christian Couder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.