Re: [PATCH] Function for updating refs.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: <git@...>, Johannes Schindelin <Johannes.Schindelin@...>
Date: Wednesday, September 5, 2007 - 8:03 am

2007/9/5, Junio C Hamano <gitster@pobox.com>:

Yes, it is. Also, I tested what would happen when the lock fails. I tried to
lock an already locked ref, and it died printing the message
die("unable to create '%s.lock': %s", path, strerror(errno));  from
lockfile.c. I think this is interesting. There are other failing
reasons that could
make the update_ref function to print its error, but I haven't tested them.


Thank you. Also in builtin-update-ref.c the main function could return
directly that value returned from the call to update_ref().
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Function for updating refs., Junio C Hamano, (Wed Sep 5, 3:04 am)
Re: [PATCH] Function for updating refs., Carlos Rica, (Wed Sep 5, 8:03 am)