From cd46ee42aa100b04ac1882c04432fc2a68fbc369 Mon Sep 17 00:00:00 2001 From: Joshua Nathaniel Pritikin Date: Mon, 11 Nov 2013 14:56:21 -0500 Subject: [PATCH] If new="--" then enable ln-untracked --- git-latexdiff | 3 +++ 1 file changed, 3 insertions(+) diff --git a/git-latexdiff b/git-latexdiff index 69422d4..ded22f4 100755 --- a/git-latexdiff +++ b/git-latexdiff @@ -247,6 +247,9 @@ done if test -z "$new" ; then new=HEAD fi +if test "$new" = "--"; then + ln_untracked=1 +fi if test -z "$old" ; then echo "fatal: Please, provide at least one revision to diff with."