changeset 2322:6ea36346590a beta

comments on git-operations mapp
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 21 May 2012 20:44:08 +0200
parents 75280665ad1e
children 6c0f76330d91
files rhodecode/lib/middleware/simplegit.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py	Mon May 21 20:42:21 2012 +0200
+++ b/rhodecode/lib/middleware/simplegit.py	Mon May 21 20:44:08 2012 +0200
@@ -62,7 +62,9 @@
 
 
 dulserver.DEFAULT_HANDLERS = {
+  #git-ls-remote, git-clone, git-fetch and git-pull
   'git-upload-pack': SimpleGitUploadPackHandler,
+  #git-push
   'git-receive-pack': dulserver.ReceivePackHandler,
 }
 
@@ -196,7 +198,6 @@
         baseui = make_ui('db')
         self.__inject_extras(repo_path, baseui, extras)
 
-
         try:
             # invalidate cache on push
             if action == 'push':