From 82792b453d94f72aedcd65a40bd72f12785ee2d9 Mon Sep 17 00:00:00 2001 Message-Id: <82792b453d94f72aedcd65a40bd72f12785ee2d9.1746539683.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 25 Aug 2007 20:02:09 +0200 Subject: [PATCH] Replace "git repo-config" with "git config" in help texts MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Organization: Straylight/Edgeware From: Karl Hasselström 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 --- examples/gitconfig | 2 +- stgit/stack.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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() -- [mdw]