Browse Source

Merge commit 'c3f74f5'

master
Matthieu Moy 11 years ago
parent
commit
a9208dd18a
  1. 1
      .gitignore
  2. 5
      tests/bib/run-test.sh
  3. 2
      tests/bib/test.bib

1
.gitignore

@ -0,0 +1 @@
config.mak

5
tests/bib/run-test.sh

@ -13,9 +13,8 @@ cleanup () {
trap cleanup 2 trap cleanup 2
perl -pi -e 's/New/Uncommited/g' test.tex test.bib perl -pi -e 's/New/Uncommited/g' test.tex test.bib
oldnew="$(git rev-list HEAD -- test.tex test.bib)"
old=$(echo "$oldnew" | sed -n '1p')
new=$(echo "$oldnew" | sed -n '2p')
old=b9a200a6a0c45d6c594cb3c5473edd81a7edb52c
new=cbce899ba408849a471461bb9b5d648bf02039ef
rm -f *.aux *.bbl rm -f *.aux *.bbl
echo "git latexdiff without --bbl option (should not display bibliography)" echo "git latexdiff without --bbl option (should not display bibliography)"

2
tests/bib/test.bib

@ -1,5 +1,5 @@
@Article{test-entry, @Article{test-entry,
author = {Uncommited author},
author = {New author},
title = {Some title}, title = {Some title},
journal = {Some journal}, journal = {Some journal},
year = 42} year = 42}

Loading…
Cancel
Save