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

[PATCH 2/2] Fix wrong merge-base invocation preventing detection of up-to-date branches.

From
YDYann Dirson <ydirson@free.fr>
Date
May 5, 2018, 13:24 UTC
Message-ID
<20180505132423.18324-2-ydirson@free.fr>
In-Reply-To
<20180505132423.18324-1-ydirson@free.fr>
---
 git-reintegrate | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-reintegrate b/git-reintegrate
index da45239..a6e3cff 100755
--- a/git-reintegrate
+++ b/git-reintegrate
@@ -581,7 +581,7 @@ def status_merge(branch_to_merge = nil)
   elsif system(*%w[git merge-base --is-ancestor], branch_to_merge, $status_base)
     state = "+"
     verbose_state = "merged to #{$status_base}"
-  elsif system(*%w[git-merge-base --is-ancestor], branch_to_merge, $branch.name)
+  elsif system(*%w[git merge-base --is-ancestor], branch_to_merge, $branch.name)
     state = "*"
     verbose_state = "up-to-date"
   else
-- 
2.11.0
Previous: Yann DirsonNext: Christian Couder
Message 2 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.