]> arthur.barton.de Git - bup.git/blobdiff - cmd/server-cmd.py
Add syntax highlighting to readme
[bup.git] / cmd / server-cmd.py
index 6fa9a67a96d8ac68dd7f748315cf6003a4999184..abb02203c78fb77ab10bc32226c59231b34b012c 100755 (executable)
@@ -219,7 +219,7 @@ def rev_list(conn, _):
     refs = tuple(x[:-1] for x in lines_until_sentinel(conn, '\n', Exception))
     args = git.rev_list_invocation(refs, count=count, format=fmt)
     p = subprocess.Popen(git.rev_list_invocation(refs, count=count, format=fmt),
-                         preexec_fn=git._gitenv(git.repodir),
+                         env=git._gitenv(git.repodir),
                          stdout=subprocess.PIPE)
     while True:
         out = p.stdout.read(64 * 1024)