[PATCH v2 0/5] Check replacement object type and minor updates
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Aug 27, 2013, 19:48 UTC
- Message-ID
- <20130827194022.11172.56453.chriscool@tuxfamily.org>
The only changes compared to the previous version are those suggested by Johannes:
- the error message is now:
"Objects must be of the same type.\n" "'%s' points to a replaced object of type '%s'\n" "while '%s' points to a replacement object of type '%s'."
- the test uses "." instead of "'\''"
Only patchs 1/5 and 3/5 were changed.
Christian Couder (5): replace: forbid replacing an object with one of a different type Documentation/replace: state that objects must be of the same type t6050-replace: test that objects are of the same type t6050-replace: add test to clean up all the replace refs Documentation/replace: add Creating Replacement Objects section
Documentation/git-replace.txt | 23 ++++++++++++++++++++--- builtin/replace.c | 10 ++++++++++ t/t6050-replace.sh | 19 +++++++++++++++++++ 3 files changed, 49 insertions(+), 3 deletions(-)
-- 1.8.4.rc1.26.gdd51ee9