Example #1
0
 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)
Example #2
0
 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, '')
Example #3
0
 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)
Example #4
0
 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, '')
Example #5
0
 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)
Example #6
0
 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)
Example #7
0
 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)
Example #8
0
 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)
Example #9
0
 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, '')
Example #10
0
 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)
Example #11
0
 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, '')
Example #12
0
 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)
Example #13
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Example #14
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Example #15
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)[STDOUT]
     diff = git.stash('show', '-p', rev)[STDOUT]
     return diffstat + '\n\n' + diff
Example #16
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)
     diff = git.stash('show', '-p', rev)
     return diffstat + '\n\n' + diff
Example #17
0
 def do(self):
     status, output = git.stash('drop', self.stash_sha1,
                                with_stderr=True, with_status=True)
     Interaction.log_status(status, output, '')
Example #18
0
 def stash_list(self):
     return git.stash('list').splitlines()
Example #19
0
 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)
Example #20
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Example #21
0
 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)
Example #22
0
 def stash_list(self):
     return git.stash('list').splitlines()
Example #23
0
 def do(self):
     status, output = git.stash('drop',
                                self.stash_sha1,
                                with_stderr=True,
                                with_status=True)
     Interaction.log_status(status, output, '')
Example #24
0
 def stash_list(self):
     return git.stash("list").splitlines()
Example #25
0
 def stash_diff(self, rev):
     diffstat = git.stash("show", rev)
     diff = git.stash("show", "-p", rev)
     return diffstat + "\n\n" + diff
Example #26
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Example #27
0
 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