From 139ee31079448f4ba2029637e5232a2481756e6b Mon Sep 17 00:00:00 2001 From: Matthieu Moy Date: Sun, 15 May 2016 08:46:42 +0200 Subject: [PATCH] don't default to --ln-untracked when $new=='--' This was made to avoid having to checkout the worktree, but since fe95cc4 (take --whole-tree into account when diffing with worktree, 2016-05-14), we do copy the worktree anyway, so this is not needed anymore. --- git-latexdiff | 3 --- 1 file changed, 3 deletions(-) diff --git a/git-latexdiff b/git-latexdiff index 339b147..ee9d7ac 100755 --- a/git-latexdiff +++ b/git-latexdiff @@ -376,9 +376,6 @@ 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."