From 4675c915fc3f5b13bb00aad8a372ff95ade5fb97 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Sun, 24 Aug 2014 20:05:41 +0200 Subject: [PATCH 1/2] Fix --bbl test --- tests/bib/run-test.sh | 9 ++++----- tests/bib/test.bib | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/bib/run-test.sh b/tests/bib/run-test.sh index 7e05500..f1816d5 100755 --- a/tests/bib/run-test.sh +++ b/tests/bib/run-test.sh @@ -7,15 +7,14 @@ die () { } cleanup () { - perl -pi -e 's/Uncommited/New/g' test.tex test.bbl + perl -pi -e 's/Uncommited/New/g' test.tex test.bib } trap cleanup 2 -perl -pi -e 's/New/Uncommited/g' test.tex test.bbl -oldnew="$(git rev-list HEAD -- test.tex test.bbl)" -old=$(echo "$oldnew" | sed -n '1p') -new=$(echo "$oldnew" | sed -n '2p') +perl -pi -e 's/New/Uncommited/g' test.tex test.bib +old=b9a200a6a0c45d6c594cb3c5473edd81a7edb52c +new=cbce899ba408849a471461bb9b5d648bf02039ef rm -f *.aux *.bbl echo "git latexdiff without --bbl option (should not display bibliography)" diff --git a/tests/bib/test.bib b/tests/bib/test.bib index c515a46..c984129 100644 --- a/tests/bib/test.bib +++ b/tests/bib/test.bib @@ -1,5 +1,5 @@ @Article{test-entry, - author = {Uncommited author}, + author = {New author}, title = {Some title}, journal = {Some journal}, year = 42} From c3f74f5559867111f118600e6d2bf778a3f13754 Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Sun, 24 Aug 2014 20:06:33 +0200 Subject: [PATCH 2/2] .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6c8bb2f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.mak