From: Karl Hasselström Date: Sat, 25 Aug 2007 18:02:09 +0000 (+0200) Subject: Replace "git repo-config" with "git config" in help texts X-Git-Tag: v0.14~116 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/82792b453d94f72aedcd65a40bd72f12785ee2d9 Replace "git repo-config" with "git config" in help texts It makes sense to still use git-repo-config instead of git-config in the code, since the latter name is not available in older gits, but it's better to use the new name in the help texts since the overwhelming majority of users aren't going to use a very old git. Signed-off-by: Karl Hasselström --- diff --git a/examples/gitconfig b/examples/gitconfig index e402208..f1c653e 100644 --- a/examples/gitconfig +++ b/examples/gitconfig @@ -1,6 +1,6 @@ # StGIT configuration file. Copy it to any of ~/.gitconfig or # .git/config and modify as needed. Note that the latter overrides -# the former. The "git repo-config" command can be used as well +# the former. The "git config" command can be used as well [user] # Default author/committer details (standard GIT variables) diff --git a/stgit/stack.py b/stgit/stack.py index 0ce9992..1ab10c5 100644 --- a/stgit/stack.py +++ b/stgit/stack.py @@ -515,7 +515,7 @@ class Series(PatchSet): out.note(('No parent remote declared for stack "%s",' ' defaulting to "origin".' % self.get_name()), ('Consider setting "branch.%s.remote" and' - ' "branch.%s.merge" with "git repo-config".' + ' "branch.%s.merge" with "git config".' % (self.get_name(), self.get_name()))) return 'origin' else: @@ -532,7 +532,7 @@ class Series(PatchSet): out.note(('No parent branch declared for stack "%s",' ' defaulting to "heads/origin".' % self.get_name()), ('Consider setting "branch.%s.stgit.parentbranch"' - ' with "git repo-config".' % self.get_name())) + ' with "git config".' % self.get_name())) return 'heads/origin' else: raise StackException, 'Cannot find a parent branch for "%s"' % self.get_name()