Exemplo n.º 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)
Exemplo n.º 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, '')
Exemplo n.º 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)
Exemplo n.º 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, '')
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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, '')
Exemplo n.º 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)
Exemplo n.º 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, '')
Exemplo n.º 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)
Exemplo n.º 13
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Exemplo n.º 14
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Exemplo n.º 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
Exemplo n.º 16
0
 def stash_diff(self, rev):
     diffstat = git.stash('show', rev)
     diff = git.stash('show', '-p', rev)
     return diffstat + '\n\n' + diff
Exemplo n.º 17
0
 def do(self):
     status, output = git.stash('drop', self.stash_sha1,
                                with_stderr=True, with_status=True)
     Interaction.log_status(status, output, '')
Exemplo n.º 18
0
 def stash_list(self):
     return git.stash('list').splitlines()
Exemplo n.º 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)
Exemplo n.º 20
0
 def do(self):
     status, out, err = git.stash('drop', self.stash_sha1)
     Interaction.log_status(status, out, err)
Exemplo n.º 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)
Exemplo n.º 22
0
 def stash_list(self):
     return git.stash('list').splitlines()
Exemplo n.º 23
0
 def do(self):
     status, output = git.stash('drop',
                                self.stash_sha1,
                                with_stderr=True,
                                with_status=True)
     Interaction.log_status(status, output, '')
Exemplo n.º 24
0
 def stash_list(self):
     return git.stash("list").splitlines()
Exemplo n.º 25
0
 def stash_diff(self, rev):
     diffstat = git.stash("show", rev)
     diff = git.stash("show", "-p", rev)
     return diffstat + "\n\n" + diff
Exemplo n.º 26
0
 def stash_list(self):
     return git.stash('list')[STDOUT].splitlines()
Exemplo n.º 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