Brandon Casey
d6cf61bfd4
close_lock_file(): new function in the lockfile API
...
The lockfile API is a handy way to obtain a file that is cleaned
up if you die(). But sometimes you would need this sequence to
work:
1. hold_lock_file_for_update() to get a file descriptor for
writing;
2. write the contents out, without being able to decide if the
results should be committed or rolled back;
3. do something else that makes the decision --- and this
"something else" needs the lockfile not to have an open file
descriptor for writing (e.g. Windows do not want a open file
to be renamed);
4. call commit_lock_file() or rollback_lock_file() as
appropriately.
This adds close_lock_file() you can call between step 2 and 3 in
the above sequence.
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2008-01-16 15:35:03 -08:00
..
2008-01-14 18:04:51 -08:00
2008-01-16 15:35:03 -08:00
2007-12-14 22:29:38 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2007-12-10 01:36:13 -08:00
2008-01-06 18:41:44 -08:00
2008-01-14 16:14:29 -08:00
2007-11-18 20:50:57 -05:00
2008-01-06 18:41:44 -08:00
2007-12-12 10:59:22 -08:00
2007-12-05 01:57:40 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-09 12:25:24 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-16 11:37:57 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-11 18:06:55 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-14 16:14:29 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-08 00:58:33 -08:00
2008-01-06 18:41:44 -08:00
2008-01-07 14:02:00 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-03 09:15:17 -08:00
2007-12-14 22:29:38 -08:00
2008-01-14 18:04:51 -08:00
2007-12-01 11:20:00 -08:00
2008-01-07 22:41:43 -08:00
2008-01-11 21:40:55 -08:00
2008-01-06 18:41:44 -08:00
2007-12-06 23:20:11 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00
2008-01-06 18:41:44 -08:00