Hi, On Mon, 26 May 2008, Junio C Hamano wrote: > Johannes Schindelin <Johannes.Schindelin@xxxxxx> writes: > > > When a struct in wt-status.h changes, many files need to be rebuilt. > > What project, that has levenshtein.h, is this patch is for ;-)? Heh. Missed that one. There was a discussion some time ago that the rename detection should prefer names with a smaller Levenshtein distance, so I implemented that (back when I still had some time). This one is on top of the current 'next': -- snipsnap -- [PATCH v2] Makefile: wt-status.h is also a lib header When a struct in wt-status.h changes, many files need to be rebuilt. Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index ef5ce5e..ab358b2 100644 --- a/Makefile +++ b/Makefile @@ -375,6 +375,7 @@ LIB_H += tree.h LIB_H += tree-walk.h LIB_H += unpack-trees.h LIB_H += utf8.h +LIB_H += wt-status.h LIB_OBJS += alias.o LIB_OBJS += alloc.o @@ -1127,7 +1128,6 @@ git-http-push$X: revision.o http.o http-push.o $(GITLIBS) $(LIB_OBJS) $(BUILTIN_OBJS): $(LIB_H) $(patsubst git-%$X,%.o,$(PROGRAMS)): $(LIB_H) $(wildcard */*.h) -builtin-revert.o wt-status.o: wt-status.h $(LIB_FILE): $(LIB_OBJS) $(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(LIB_OBJS) -- 1.5.6.rc0.175.gdd78 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html