git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] Fix support for merge options.

From
YDYann Dirson <ydirson@free.fr>
Date
May 5, 2018, 13:24 UTC
Message-ID
<20180505132423.18324-1-ydirson@free.fr>
---
 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
Next: Yann Dirson
Message 1 of 5 in “Fix support for merge options.”
  1. 1/2 Fix support for merge options.Yann Dirson, May 5, 2018
  2. 2/2 Fix wrong merge-base invocation preventing detection of up-to-date branches.Yann Dirson, May 5, 2018
  3. Christian CouderMay 5, 2018
  4. ydirson@free.frMay 5, 2018
  5. Christian CouderMay 5, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.