Browse Source

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.
master
Matthieu Moy 10 years ago
parent
commit
139ee31079
  1. 3
      git-latexdiff

3
git-latexdiff

@ -376,9 +376,6 @@ done
if test -z "$new" ; then if test -z "$new" ; then
new=HEAD new=HEAD
fi fi
if test "$new" = "--"; then
ln_untracked=1
fi
if test -z "$old" ; then if test -z "$old" ; then
echo "fatal: Please, provide at least one revision to diff with." echo "fatal: Please, provide at least one revision to diff with."

Loading…
Cancel
Save