delete the 'description' file for new repos
This commit is contained in:
parent
37e97d29fe
commit
e1d9aee98b
|
@ -4,6 +4,11 @@
|
||||||
# whatever you want and contribute it back, as long as it is upward
|
# whatever you want and contribute it back, as long as it is upward
|
||||||
# compatible.
|
# 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
|
# 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
|
# it's been triggered by a *normal* (not "wild") repo creation, which in turn
|
||||||
|
|
Loading…
Reference in a new issue