contrib/git-viz/git-rev-list
author Konstantin Zemlyak <zart@zartsoft.ru>
Mon, 22 Mar 2010 15:16:27 +0100
branchstable
changeset 10753 a1cb8ca051c0
parent 406 d8abb687d501
permissions -rw-r--r--
wsgicgi: call close() on iterable to avoid resource leaks Quoting PEP 333 (WSGI): "If the iterable returned by the application has a close() method, the server or gateway must call that method upon completion of the current request, whether the request was completed normally, or terminated early due to an error. (This is to support resource release by the application. This protocol is intended to complement PEP 325's generator support, and other common iterables with close() methods."

#!/bin/sh

op=`basename $0 | sed -e 's/^git-//'`
exec hgit $op "$@"