[prev in list] [next in list] [prev in thread] [next in thread] 

List:       git
Subject:    [PATCH] Support tags in uncommit - use git_id instead of rev_parse
From:       Pavel Roskin <proski () gnu ! org>
Date:       2007-09-30 17:26:47
Message-ID: 20070930172647.18972.49369.stgit () tt ! roinet ! com
[Download RAW message or body]

Signed-off-by: Pavel Roskin <proski@gnu.org>
---

 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 0cd0fb0..c22d3ea 100644
--- a/stgit/commands/uncommit.py
+++ b/stgit/commands/uncommit.py
@@ -65,7 +65,7 @@ def func(parser, options, args):
         if len(args) != 0:
             parser.error('cannot specify patch name with --to')
         patch_nr = patchnames = None
-        to_commit = git.rev_parse(options.to)
+        to_commit = git_id(options.to)
     elif options.number:
         if options.number <= 0:
             parser.error('invalid value passed to --number')
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic