Re: [PATCH] pack.indexversion config option now defaults to 2
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 25, 2008, 06:06 UTC
- Message-ID
- <7viqvy59qr.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080625055605.GD28563@glandium.org>
Mike Hommey <mh@glandium.org> writes:
> Wouldn't it be a good idea to add a warning in git update-server-info > when it detects pack.indexVersion is not 1, too ?
Can you describe how that warning will help whom in the bigger picture?
The way as I understand everybody runs "git update-server-info" is:
* "git push" pushes into a publishing repository, then * "post-receive" (or "post-update") hook triggers "update-server-info".
If you spit out a warning from update-server-info, it will be shown to the pusher over sideband, but this will not necessarily help the pusher, who may or may not have shell access to the repository.