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

Re: [PATCH v0 3/3] Build in git-rebase.sh

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
May 23, 2009, 09:26 UTC
Message-ID
<20090523092603.GA7420@dektop>
In-Reply-To
<fcaeb9bf0905220030l45e1b7dfqd30f35b7c8e43b51@mail.gmail.com>
On Fri, May 22, 2009 at 05:30:31PM +1000, Nguyen Thai Ngoc Duy wrote:
Show 8 quoted lines
> 2009/5/22 Johannes Sixt <j.sixt@viscovery.net>:
> > Nguyễn Thái Ngọc Duy schrieb:
> >> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
> >
> > Is it possible for you to test this series on Windows? Many rebase tests
> > fail, but I haven't investigated why.
> 
> I'll try it this weekend.

This patch makes t3*rebase*.sh pass for me except t3412 (more exactly t3412.8). That test failed even with git-rebase.sh. Hmm... Anyway could you try again to see what tests still fail?

--<--
diff --git a/builtin-rebase.c b/builtin-rebase.c
index 2acea59..5582f1d 100644
--- a/builtin-rebase.c
+++ b/builtin-rebase.c
@@ -56,7 +56,8 @@ static int rebase_config(const char *var, const char *value, void *data)
 			((struct rebase_opt*)data)->flags |= REBASE_STAT;
 		return 0;
 	}
-	return 0;
+
+	return git_default_config(var, value, data);
 }
 
 /* utility functions */
@@ -504,7 +505,7 @@ static void run_interactive(int argc, const char **argv)
 	ret = run_command(&cp);
 	if (IS_RUN_COMMAND_ERR(ret))
 		die("Failed to run git rebase--interactive");
-	exit(ret);
+	exit(-ret);
 }
 
 /* from diff.c */
--<--
Previous: Nguyen Thai Ngoc DuyNext: Nguyen Thai Ngoc Duy
Message 11 of 21 in “doc/git-rebase.txt: remove mention of multiple strategies”
  1. 1/3 doc/git-rebase.txt: remove mention of multiple strategiesNguyễn Thái Ngọc Duy, May 21, 2009
  2. 2/3 t/t3400-rebase.sh: add more tests to help migrating git-rebase.sh to CNguyễn Thái Ngọc Duy, May 21, 2009
  3. 3/3 Build in git-rebase.shNguyễn Thái Ngọc Duy, May 21, 2009
  4. Jakub NarebskiMay 21, 2009
  5. Nguyen Thai Ngoc DuyMay 21, 2009
  6. Jakub NarebskiMay 21, 2009
  7. Nguyen Thai Ngoc DuyMay 21, 2009
  8. Junio C HamanoMay 21, 2009
  9. Johannes SixtMay 22, 2009
  10. Nguyen Thai Ngoc DuyMay 22, 2009
  11. Nguyen Thai Ngoc DuyMay 23, 2009
  12. Nguyen Thai Ngoc DuyMay 23, 2009
  13. Johannes SixtMay 25, 2009
  14. Nguyen Thai Ngoc DuyMay 25, 2009
  15. Johannes SixtMay 25, 2009
  16. Nguyen Thai Ngoc DuyMay 25, 2009
  17. Nguyen Thai Ngoc DuyMay 25, 2009
  18. Jakub NarebskiMay 21, 2009
  19. Nguyen Thai Ngoc DuyMay 21, 2009
  20. Junio C HamanoMay 21, 2009
  21. 2/3 t/t3400-rebase.sh: add more tests to help migrating git-rebase.sh to CNguyễn Thái Ngọc Duy, May 23, 2009

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.