def do(self): if self.keep_index: args = ['save', '--keep-index', self.stash_name] else: args = ['save', self.stash_name] status, output = git.stash(with_stderr=True, with_status=True, *args) cola.notifier().broadcast(signals.log_cmd, status, output)
def do(self): if self.index: args = ['apply', '--index', self.selection] else: args = ['apply', self.selection] status, output = git.stash(with_stderr=True, with_status=True, *args) Interaction.log_status(status, output, '')
def do(self): if self.index: args = ['apply', '--index', self.selection] else: args = ['apply', self.selection] status, output = git.stash(with_stderr=True, with_status=True, *args) cola.notifier().broadcast(signals.log_cmd, status, output)
def do(self): if self.keep_index: args = ['save', '--keep-index', self.stash_name] else: args = ['save', self.stash_name] status, output = git.stash(with_stderr=True, with_status=True, *args) Interaction.log_status(status, output, '')
def do(self): if self.keep_index: args = ['save', '--keep-index', self.stash_name] else: args = ['save', self.stash_name] status, out, err = git.stash(*args) Interaction.log_status(status, out, err)
def do(self): if self.index: args = ['apply', '--index', self.selection] else: args = ['apply', self.selection] status, out, err = git.stash(*args) Interaction.log_status(status, out, err)
def do(self): if self.index: args = ["apply", "--index", self.selection] else: args = ["apply", self.selection] status, output = git.stash(with_stderr=True, with_status=True, *args) cola.notifier().broadcast(signals.log_cmd, status, output)
def do(self): if self.keep_index: args = ["save", "--keep-index", self.stash_name] else: args = ["save", self.stash_name] status, output = git.stash(with_stderr=True, with_status=True, *args) cola.notifier().broadcast(signals.log_cmd, status, output)
def stash_list(self): return git.stash('list')[STDOUT].splitlines()
def do(self): status, out, err = git.stash('drop', self.stash_sha1) Interaction.log_status(status, out, err)
def stash_diff(self, rev): diffstat = git.stash('show', rev)[STDOUT] diff = git.stash('show', '-p', rev)[STDOUT] return diffstat + '\n\n' + diff
def stash_diff(self, rev): diffstat = git.stash('show', rev) diff = git.stash('show', '-p', rev) return diffstat + '\n\n' + diff
def do(self): status, output = git.stash('drop', self.stash_sha1, with_stderr=True, with_status=True) Interaction.log_status(status, output, '')
def stash_list(self): return git.stash('list').splitlines()
def do(self): status, output = git.stash("drop", self.stash_sha1, with_stderr=True, with_status=True) cola.notifier().broadcast(signals.log_cmd, status, output)
def do(self): status, output = git.stash('drop', self.stash_sha1, with_stderr=True, with_status=True) cola.notifier().broadcast(signals.log_cmd, status, output)
def stash_list(self): return git.stash("list").splitlines()
def stash_diff(self, rev): diffstat = git.stash("show", rev) diff = git.stash("show", "-p", rev) return diffstat + "\n\n" + diff
def stash_diff(self, rev): diffstat = git.stash('show', rev)[STDOUT] diff = git.stash('show', '-p', '--no-ext-diff', rev)[STDOUT] return diffstat + '\n\n' + diff