[PATCH 0/2] Breaking the ref-transactions-reflog series in smaller parts
- From
Stefan Beller <sbeller@google.com>
- Date
- Nov 19, 2014, 21:40 UTC
- Message-ID
- <1416433224-29763-1-git-send-email-sbeller@google.com>
Hi,
so I think the patch series ref-transactions-reflog[1] sent previously to the list is still too large for easy review and I want to break it up more. So in this series we'll digest only 2 small patches, which do not seem to be controversial (yet;) and seem to be useful no matter how the discussion on the other series continues.
ref_transaction_create as well as ref_transaction_delete are just special cases of ref_transaction_update, so let's reduce some redundant code. While this doesn't change code in pathes, which are supposed to be run, we do have slight changes in error messages starting with "BUG: ". So in the best case, the user will never see these messages at all.
Thanks, Stefan
[1] http://thread.gmane.org/gmane.comp.version-control.git/259712
Ronnie Sahlberg (2):
refs.c: make ref_transaction_create a wrapper for
ref_transaction_update
refs.c: make ref_transaction_delete a wrapper for
ref_transaction_updaterefs.c | 49 ++++--------------------------------------------- refs.h | 2 +- 2 files changed, 5 insertions(+), 46 deletions(-)
-- 2.2.0.rc2.13.g0786cdb