summaryrefslogtreecommitdiff
path: root/t/t9115-git-svn-dcommit-funky-renames.sh
diff options
context:
space:
mode:
authorLibravatar Ronnie Sahlberg <sahlberg@google.com>2014-06-20 07:42:45 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-07-14 11:54:40 -0700
commit1b07255c95cdf2f7dbe7989a734248f60799f506 (patch)
treec05e1687a763576505059600c7303d7711e5da92 /t/t9115-git-svn-dcommit-funky-renames.sh
parentrefs.c: constify the sha arguments for ref_transaction_create|delete|update (diff)
downloadtgif-1b07255c95cdf2f7dbe7989a734248f60799f506.tar.xz
refs.c: allow passing NULL to ref_transaction_free
Allow ref_transaction_free(NULL) as a no-op. This makes ref_transaction_free easier to use and more similar to plain 'free'. In particular, it lets us rollback unconditionally as part of cleanup code after setting 'transaction = NULL' if a transaction has been committed or rolled back already. Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Ronnie Sahlberg <sahlberg@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to 't/t9115-git-svn-dcommit-funky-renames.sh')
0 files changed, 0 insertions, 0 deletions