Re: [PATCH] Makefile: wt-status.h is also a lib header
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 26, 2008, 23:03 UTC
- Message-ID
- <alpine.DEB.1.00.0805270001050.30431@racer>
- In-Reply-To
- <7vlk1w4tp9.fsf@gitster.siamese.dyndns.org>
Hi,
On Mon, 26 May 2008, Junio C Hamano wrote:
Show 5 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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@gmx.de> --- 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