[PATCH 0/5] Check replacement object type and minor updates
- From
Christian Couder <chriscool@tuxfamily.org>
- Date
- Aug 25, 2013, 13:06 UTC
- Message-ID
- <20130825125940.4681.70226.chriscool@tuxfamily.org>
Here is a reroll of the patch forbiding replacing an bject with one of a different type (1/5). It is followed by a documentation update (2/5) and a test (3/5). I also added for good mesure another test (4/5) I came up with while developing the previous test, and another doc update related to what we discussed about creating replacement objects (5/5).
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.24.g13dc82a