[StGit PATCH 0/2] Two small doc fixes

DORMANTno replies

3 messages, 1 author, 2016-06-15 · open the first message on its own page

[StGit PATCH 0/2] Two small doc fixes

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:53

---

Also available from

  git://repo.or.cz/stgit/kha.git safe

Karl Hasselström (2):
      Add missing switch to "stg uncommit" usage line
      Push and pop don't have --to flags anymore


 stgit/commands/goto.py     |    5 ++---
 stgit/commands/uncommit.py |    2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle

[StGit PATCH 1/2] Push and pop don't have --to flags anymore

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:53

Signed-off-by: Karl Hasselström <redacted>

---

 stgit/commands/goto.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/stgit/commands/goto.py b/stgit/commands/goto.py
index 7f9d45d..84b840b 100644
--- a/stgit/commands/goto.py
+++ b/stgit/commands/goto.py
@@ -27,9 +27,8 @@ help = 'push or pop patches to the given one'
 usage = """%prog [options] <name>
 
 Push/pop patches to/from the stack until the one given on the command
-line becomes current. This is a shortcut for the 'push --to' or 'pop
---to' commands. There is no '--undo' option for 'goto'. Use the 'push'
-command for this."""
+line becomes current. There is no '--undo' option for 'goto'. Use the
+'push --undo' command for this."""
 
 directory = DirectoryGotoToplevel()
 options = [make_option('-k', '--keep',

[StGit PATCH 2/2] Add missing switch to "stg uncommit" usage line

From: Karl Hasselström <hidden>
Date: 2016-06-15 22:43:53

Signed-off-by: Karl Hasselström <redacted>

---

 stgit/commands/uncommit.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stgit/commands/uncommit.py b/stgit/commands/uncommit.py
index 9a46c94..ba3448f 100644
--- a/stgit/commands/uncommit.py
+++ b/stgit/commands/uncommit.py
@@ -26,7 +26,7 @@ from stgit.out import *
 from stgit import stack, git
 
 help = 'turn regular GIT commits into StGIT patches'
-usage = """%prog [<patchnames>] | -n NUM [<prefix>]] | -t <committish>
+usage = """%prog [<patchnames>] | -n NUM [<prefix>]] | -t <committish> [-x]
 
 Take one or more git commits at the base of the current stack and turn
 them into StGIT patches. The new patches are created as applied patches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help