Re: [PATCH] clone: Warn if clone lacks LICENSE or COPYING file
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 3, 2015, 21:26 UTC
- Message-ID
- <xmqqtwwwgayd.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CACBZZX67igE67+y7Tme=_OC7JiT726qB4X18+8Mvg1ewssQ_ug@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 7 quoted lines
> As others have indicated here this feature is really specific to a > single lint-like use-case and doesn't belong in clone as a built-in > feature. > > However perhaps an interesting generalization of this would be > something like a post-clone hook, obviously you couldn't store that in > .git/hooks/ like other githooks(5) since there's no repo yet,
Yes, and these things come from templates, and you can specify the template source location when running "git clone".
So I do not think anything is needed on our side and it's all doable with what the users already have, as long as we are talking about making it only an opt-in feature.
Which means
> You could also just have a shell alias that wrapped git-clone...
is also perfectly acceptable, I would think.