replace info: rename 'full' to 'long' and clarify in-code symbols
commit663a8566beb5387530641abe71a8d8b2dafd08b3
authorChristian Couder <chriscool@tuxfamily.org>
Sat, 28 Dec 2013 11:00:05 +0000 (28 12:00 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 30 Dec 2013 20:33:11 +0000 (30 12:33 -0800)
tree5d67411eef51e8afa398daefa7ae96615cb7c853
parent34a332221c581585ad06ed43eff12fb7e675cc1d
replace info: rename 'full' to 'long' and clarify in-code symbols

Enum names SHORT/MEDIUM/FULL were too broad to be descriptive.  And
they clashed with built-in symbols on platforms like Windows.
Clarify by giving them REPLACE_FORMAT_ prefix.

Rename 'full' format in "git replace --format=<name>" to 'long', to
match others (i.e. 'short' and 'medium').

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-replace.txt
builtin/replace.c
t/t6050-replace.sh