Re: [PATCH 1/2] submodule: fix confusing variable name
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 9, 2013, 18:53 UTC
- Message-ID
- <7va9kq66h6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <5203D8F6.2020102@ramsay1.demon.co.uk>
Ramsay Jones <ramsay@ramsay1.demon.co.uk> writes:
> $path is part of the public API, so we can't just remove it. It would > require a deprecation period, etc,. (Adding/documenting $sm_path as an > alternative *may* be worth doing. dunno.)
I think exporting sm_path (if not done already) and documenting the transition may be a good starting point, but deprecation of $path may be tricky. There is no good way for us to warn people who continue using $path and ask them to fix their fingers and scripts to use $sm_path instead.