Revision 66c2948ffd6e376447252a3a72f7ce78eeef3e52 authored by Junio C Hamano on 13 June 2022, 22:53:41 UTC, committed by Junio C Hamano on 13 June 2022, 22:53:41 UTC
Add tests for a regression fixed earlier.

* tl/ls-tree-oid-only:
  ls-tree: test for the regression in 9c4d58ff2c3
2 parent s ecbd60a + 1d232d3
Raw File
Makefile
all: diff-highlight

PERL_PATH = /usr/bin/perl
-include ../../config.mak

PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))

diff-highlight: shebang.perl DiffHighlight.pm diff-highlight.perl
	cat $^ >$@+
	chmod +x $@+
	mv $@+ $@

shebang.perl: FORCE
	@echo '#!$(PERL_PATH_SQ)' >$@+
	@cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@

test: all
	$(MAKE) -C t

clean:
	$(RM) diff-highlight

.PHONY: FORCE
back to top