1191cb012ddd2b8e57a0b8a1686769ffac3422cb galt Thu Mar 4 03:15:37 2010 -0800 changed from git show to git diff to have more control over output options like suppressing whitespace. Also in order to get the diff for a deleted file, I had to change it to dump the entire diff for the commit and then parse it into parts diff --git makefile makefile index d593855..806c158 100644 --- makefile +++ makefile @@ -1,40 +1,41 @@ JKSRCDIR = ../../kent/src JKLIBDIR = $(JKSRCDIR)/lib/$(MACHTYPE) EXE = git-reports .c.o: gcc -ggdb -Wimplicit -DDEBUG -Wall -I$(JKSRCDIR)/inc -I$(JKSRCDIR)/hg/inc -c $*.c L = $(MYSQLLIBS) -lm MYLIBS = $(JKLIBDIR)/jkhgap.a $(JKLIBDIR)/jkweb.a all: $(EXE) O = $(EXE).o $(EXE): $O gcc $O $(MYLIBS) $L -o $(EXE) chmod a+rx $(EXE) #strip $(EXE) #cp $(EXE) $(HOME)/bin/$(MACHTYPE) test: $(EXE) $(EXE) v223_branch v224_branch 2010-01-05 2010-01-19 v224 /cluster/bin/build/buildrepo /cluster/home/galt/public_html/git-reports review + #$(EXE) -verbose=2 v223_branch v224_branch 2010-01-05 2010-01-19 v224 /cluster/bin/build/buildrepo /cluster/home/galt/public_html/git-reports review # note can use -verbose=2 backup: date +%Y-%m-%d-%H-%M | gawk '{printf("zip -r $(EXE)%s.zip *\n",$$1);}' > tempX chmod 755 tempX ./tempX rm tempX scp *.zip screech:/scratch/backups/ rm *.zip clean: rm -f *.o $(EXE) *.tmp