chiark / gitweb /
Use git_id in import and fold instead of git.rev_parse
[stgit] / stgit / commands / fold.py
index 963c1967c8dd028132c17944d7c9f6bcf603b279..a9bb7fa715c6d337780b1010ac563e24f3e9ede0 100644 (file)
@@ -70,7 +70,7 @@ def func(parser, options, args):
         bottom = crt_patch.get_bottom()
         git.apply_patch(filename, bottom)
     elif options.base:
-        git.apply_patch(filename, git.rev_parse(options.base))
+        git.apply_patch(filename, git_id(options.base))
     else:
         git.apply_patch(filename)