Kiln » Dependencies » Dulwich Read More
Clone URL:  
Pushed to one repository · View In Graph Contained in master

Allow pushing a repository containing submodules

Changeset 65aab9c0be6c

Parent 0fdbdbb267a0

by Abderrahim Kitouni

Changes to one file · Browse files at 65aab9c0be6c Showing diff from parent 0fdbdbb267a0 Diff from another changeset...

 
36
37
38
 
39
40
41
 
505
506
507
508
 
509
510
511
 
36
37
38
39
40
41
42
 
506
507
508
 
509
510
511
512
@@ -36,6 +36,7 @@
  Tree,   hex_to_sha,   sha_to_hex, + S_ISGITLINK,   )  from dulwich.pack import (   Pack, @@ -505,7 +506,7 @@
  self.objects_to_send.update([e for e in entries if not e[0] in self.sha_done])     def parse_tree(self, tree): - self.add_todo([(sha, name, not stat.S_ISDIR(mode)) for (mode, name, sha) in tree.entries()]) + self.add_todo([(sha, name, not stat.S_ISDIR(mode)) for (mode, name, sha) in tree.entries() if not S_ISGITLINK(mode)])     def parse_commit(self, commit):   self.add_todo([(commit.tree, "", False)])