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

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

  

      def git_add(self, filename):

          subprocess.check_output(

-             ['git', 'add', filename],

+             ['git', 'add', filename.relative_to(self.dirname)],

              cwd=self.dirname, stderr=subprocess.STDOUT)

  

      def git_commit(self, message):

Metadata