Skip to content
Browse files

Fix diff display when using --follow by marking it as a rev flag

  • Loading branch information...
1 parent 3acf9cf commit 40868f705ff8b4a1c4dc44ae07c64a47e0f090dc @jonas jonas committed
Showing with 8 additions and 1 deletion.
  1. +7 −0 NEWS
  2. +1 −1 git.h
View
7 NEWS
@@ -1,6 +1,13 @@
Release notes
=============
+master
+------
+
+Bug fixes:
+
+ - Fix diff broken display when using --follow <filename>.
+
tig-1.1
-------
View
2 git.h
@@ -54,6 +54,6 @@
/* FIXME(jfonseca): This is incomplete, but enough to support:
* git rev-list --author=vivien HEAD | tig --stdin --no-walk */
#define GIT_REV_FLAGS \
- "--stdin", "--no-walk"
+ "--stdin", "--no-walk", "--follow"
#endif

0 comments on commit 40868f7

Please sign in to comment.
Something went wrong with that request. Please try again.