git_config_set_multivar_in_file(): avoid call to rollback_lock_file()
commite831855ecc6783bfe4b681017349c623fc2fe8c8
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:26 +0000 (1 12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:48:59 +0000 (1 13:48 -0700)
tree26e8bfff4cff9398b1c49b91dd43a013ed08edc6
parent32c3ec258e8b12ba29ce591b09a300621dba9b3a
git_config_set_multivar_in_file(): avoid call to rollback_lock_file()

After commit_lock_file() is called, then the lock_file object is
necessarily either committed or rolled back.  So there is no need to
call rollback_lock_file() again in either of these cases.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c