projects
/
mw2txt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eaea0f
)
Make bare repo globally readable (chmod 755) in git-publish.py.
author
W. Trevor King
<wking@drexel.edu>
Fri, 9 Dec 2011 17:25:42 +0000
(12:25 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 9 Dec 2011 17:25:42 +0000
(12:25 -0500)
posts/Git/git-publish.py
patch
|
blob
|
history
diff --git
a/posts/Git/git-publish.py
b/posts/Git/git-publish.py
index cc5910fe7644b9b6458599a93fa9742748950f45..278c8f6aa8dcc86a3d5e780cbaf1af02470b1f38 100755
(executable)
--- a/
posts/Git/git-publish.py
+++ b/
posts/Git/git-publish.py
@@
-118,6
+118,7
@@
def make_bare_local_checkout(repo):
_shutil.move(_os_path.join(bare, 'hooks', 'post-update.sample'),
_os_path.join(bare, 'hooks', 'post-update'))
git(repo=bare, args=['--bare', 'update-server-info'])
+ _os.chmod(bare, 0755)
return bare
def recursive_copy(source, user, host, port, path):