lockfile.c: document the various states of lock_file objects
commit0a06f148373285822baf5f3e83696732a556a2d1
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 1 Oct 2014 10:28:14 +0000 (1 12:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Oct 2014 20:45:11 +0000 (1 13:45 -0700)
treed47697a7722e108215e97e65d229bcd3c39b5ca9
parent04e57d4d32541bc5dba553a31f09aa2ee456bdad
lockfile.c: document the various states of lock_file objects

Document the valid states of lock_file objects, how they get into each
state, and how the state is encoded in the object's fields.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Reviewed-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
lockfile.c