builtin/commit.c: extract ignore_non_trailer() helper function
[gitweb.git] / contrib / remote-helpers / git-remote-hg
index 3222afd9da865087b75efbb1be6ea36e240cb452..c6026b9bed37a91e30a278a02013072d21507061 100755 (executable)
@@ -747,7 +747,7 @@ def parse_commit(parser):
             f = { 'deleted' : True }
         else:
             die('Unknown file command: %s' % line)
-        path = c_style_unescape(path).decode('utf-8')
+        path = c_style_unescape(path)
         files[path] = f
 
     # only export the commits if we are on an internal proxy repo