threads / patch / 5783

patchStop making git-merge-recur

Subject: [PATCH] Stop making git-merge-recur

## tl;dr

4 messages between Oct 2, 2006 and Oct 2, 2006. Diffs are folded; open one to read it.

replies: 3people: 2as markdown or json

A Large Angry SCM· Oct 2, 2006, 02:45 UTC · lore

Git-merge-recur is no longer installed and make clean no longer removes it, so creating making it.

Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
---
 Makefile |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
Show changes to Makefile +2 −6
diff --git a/Makefile b/Makefile
index dd33158..37bd59d 100644
--- a/Makefile
+++ b/Makefile
@@ -586,8 +586,7 @@ export prefix TAR INSTALL DESTDIR SHELL_
 
 ### Build rules
 
-all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi \
-	git-merge-recur$X
+all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi
 
 all: perl/Makefile
 	$(MAKE) -C perl
@@ -603,9 +602,6 @@ git$X: git.c common-cmds.h $(BUILTIN_OBJ
 
 help.o: common-cmds.h
 
-git-merge-recur$X: git-merge-recursive$X
-	rm -f $@ && ln git-merge-recursive$X $@
-
 $(BUILT_INS): git$X
 	rm -f $@ && ln git$X $@
 
@@ -918,7 +914,7 @@ check-docs::
 	do \
 		case "$$v" in \
 		git-merge-octopus | git-merge-ours | git-merge-recursive | \
-		git-merge-resolve | git-merge-stupid | git-merge-recur | \
+		git-merge-resolve | git-merge-stupid | \
 		git-merge-recursive-old | \
 		git-ssh-pull | git-ssh-push ) continue ;; \
 		esac ; \
Junio C Hamano· Oct 2, 2006, 04:41 UTC · re: A Large Angry SCM · lore

Re: [PATCH] Stop making git-merge-recur

A Large Angry SCM <gitzilla@gmail.com> writes:
> Git-merge-recur is no longer installed and make clean no longer
> removes it, so creating making it.
Thanks for noticing.

The bug is actually not installing nor cleaning it. People who wanted to stay on the bleeding edge could add "-s recur" on the command line, or have "merge.twohead = recur" in the config; this is what we actually encouraged people for wider testing. We do not suddenly break them. I planned the removal for the release after 1.4.3.

This should fix it -- could you eyeball it please?
-- >8 --
Makefile: install and clean merge-recur, still.

We advertised git-merge-recur for some time, and we planned to support it for one release after we made it the 'recursive'. However we forgot to install it nor have "make clean" clean it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
Show changes to Makefile +3 −3
diff --git a/Makefile b/Makefile
index dd33158..401b893 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,8 @@ BUILT_INS = \
 	$(patsubst builtin-%.o,git-%$X,$(BUILTIN_OBJS))
 
 # what 'all' will build and 'install' will install, in gitexecdir
-ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS)
+ALL_PROGRAMS = $(PROGRAMS) $(SIMPLE_PROGRAMS) $(SCRIPTS) \
+	git-merge-recur$X
 
 # Backward compatibility -- to be removed after 1.0
 PROGRAMS += git-ssh-pull$X git-ssh-push$X
@@ -586,8 +587,7 @@ export prefix TAR INSTALL DESTDIR SHELL_
 
 ### Build rules
 
-all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi \
-	git-merge-recur$X
+all: $(ALL_PROGRAMS) $(BUILT_INS) git$X gitk gitweb/gitweb.cgi
 
 all: perl/Makefile
 	$(MAKE) -C perl
A Large Angry SCM· Oct 2, 2006, 04:52 UTC · re: Junio C Hamano · lore

Re: [PATCH] Stop making git-merge-recur

Junio C Hamano wrote:
Show 15 quoted lines
> A Large Angry SCM <gitzilla@gmail.com> writes:
> 
>> Git-merge-recur is no longer installed and make clean no longer
>> removes it, so creating making it.
> 
> Thanks for noticing.
> 
> The bug is actually not installing nor cleaning it.  People who
> wanted to stay on the bleeding edge could add "-s recur" on the
> command line, or have "merge.twohead = recur" in the config;
> this is what we actually encouraged people for wider testing.
> We do not suddenly break them.  I planned the removal for the
> release after 1.4.3.
> 
> This should fix it -- could you eyeball it please?
+1

← back to recent threads