delete the 'description' file for new repos

redis
Sitaram Chamarty 2012-05-25 12:38:11 +05:30
parent 37e97d29fe
commit e1d9aee98b
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,11 @@
# whatever you want and contribute it back, as long as it is upward
# compatible.
# ----------------------------------------------------------------------
# delete the 'description' file that 'git init' created if this is run from
# the post-create trigger
[ "$1" = "POST_CREATE" ] && rm -f $GL_REPO_BASE/$2.git/description 2>/dev/null
# ----------------------------------------------------------------------
# skip if arg-1 is POST_CREATE and no arg-3 (user name) exists; this means
# it's been triggered by a *normal* (not "wild") repo creation, which in turn