Re: [PATCH 4/5] refs.c: update rename_ref to use a transaction
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Jul 25, 2014, 20:00 UTC
- Message-ID
- <20140725200009.GJ12427@google.com>
- In-Reply-To
- <1406307521-10339-5-git-send-email-sahlberg@google.com>
Ronnie Sahlberg wrote:
> Change refs.c to use a single transaction to copy/rename both the refs and > its reflog.
Yay!
> Since we are no longer using rename() to move the reflog file > we no longer need to disallow rename_ref for refs with a symlink for its > reflog so we can remove that test from the testsuite.
It's generally better to update the testsuite with the new expected behavior instead. :)