Browse Source

forgot to add -- to prevent problems w/ files that start w/ - or --

main
John-Mark Gurney 8 years ago
parent
commit
c8a8aafe08
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hyde/ext/publishers/dvcs.py

+ 1
- 1
hyde/ext/publishers/dvcs.py View File

@@ -61,7 +61,7 @@ class Git(DVCS):
"""

def add(self, path="."):
cmd = Popen('git add'.split() + [ path ],
cmd = Popen('git add --'.split() + [ path ],
cwd=str(self.path), stdout=PIPE)
cmdresult = cmd.communicate()[0]
if cmd.returncode:


Loading…
Cancel
Save