git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Support tags in uncommit - use git_id instead of rev_parse

From
PRPavel Roskin <proski@gnu.org>
Date
Sep 30, 2007, 17:26 UTC
Message-ID
<20070930172647.18972.49369.stgit@tt.roinet.com>
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')
Next: Karl Hasselström
Message 1 of 7 in “Support tags in uncommit - use git_id instead of rev_parse”
  1. Support tags in uncommit - use git_id instead of rev_parsePavel Roskin, Sep 30, 2007
  2. Karl HasselströmOct 1, 2007
  3. Catalin MarinasOct 1, 2007
  4. Pavel RoskinOct 2, 2007
  5. Catalin MarinasOct 3, 2007
  6. Pavel RoskinOct 3, 2007
  7. Catalin MarinasOct 7, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.