#5 Make git diff work when --dirname is used
Merged 5 years ago by ishcherb. Opened 5 years ago by churchyard.
churchyard/python-fixrequires dirnamefix  into  master

file modified
+1 -1
@@ -99,7 +99,7 @@ 

  

      def show_diff(self, filename):

          subprocess.call(

-             ['git', '--no-pager', 'diff', filename],

+             ['git', '--no-pager', 'diff', filename.relative_to(self.dirname)],

              cwd=self.dirname)

  

      def has_branches(self, branches):

no initial comment

Pull-Request has been merged by ishcherb

5 years ago
Metadata