def save_archive(self): ref = git.rev_parse('HEAD')[STDOUT] shortref = ref[:7] GitArchiveDialog.save(ref, shortref, self)
def save_archive(self): ref = git.rev_parse('HEAD') shortref = ref[:7] GitArchiveDialog.save(ref, shortref, self)
def create_tarball(self): sha1 = self.selected_sha1() if sha1 is None: return short_sha1 = sha1[:7] GitArchiveDialog.save(sha1, short_sha1, self)
def save_archive(self): ref = git.rev_parse("HEAD") shortref = ref[:7] GitArchiveDialog.save(ref, shortref, self)
def create_tarball(self): sha1 = self.selected_sha1() if sha1 is None: return short_sha1 = sha1[:7] GitArchiveDialog.save(sha1, short_sha1, self)