summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4cd6405)
At least the docstring for "branch" is still very confusing, but
that's hard to fix. We'll likely have to wait for the post-1.0
command-line redesign.
Signed-off-by: Yann Dirson <ydirson@altern.org>
from stgit import stack, git
help = 'push patches to the top, even if applied'
from stgit import stack, git
help = 'push patches to the top, even if applied'
-usage = """%prog [options] [<patches> | <series>]
+usage = """%prog [<patches> | -s [<series>] ]
Push a patch or a range of patches to the top even if applied. The
necessary pop and push operations will be performed to accomplish
Push a patch or a range of patches to the top even if applied. The
necessary pop and push operations will be performed to accomplish
from stgit import stack, git
from stgit import stack, git
-help = 'initialise the tree for use with StGIT'
+help = 'initialise the current branch for use with StGIT'
usage = """%prog [options]
usage = """%prog [options]
-Initialise a GIT repository to be used with StGIT. Note that the
-repository must be already initialised with git-init-db and the
-.git/HEAD link must point to a valid file in refs/heads/. For people
-switching between multiple branches in the same repository, the 'init'
-command has to be run on all the individual branches intended to be
-used with StGIT."""
+Initialise the current GIT branch to be used as an StGIT stack. Note
+that the you must already be in a GIT repository and .git/HEAD must
+point to a valid file in refs/heads/."""
from stgit import stack, git
help = 'turn regular GIT commits into StGIT patches'
from stgit import stack, git
help = 'turn regular GIT commits into StGIT patches'
-usage = """%prog [options] [<patchname1> [<patchname2> ... ]]
+usage = """%prog [<patchname1> [<patchname2> ... ] | -n [<prefix>]]
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
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