Code

Replace opt_no_head with opt_head_rev in order to save the HEAD rev
authorJonas Fonseca <fonseca@diku.dk>
Sun, 28 Dec 2008 18:29:42 +0000 (13:29 -0500)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 28 Dec 2008 19:58:28 +0000 (14:58 -0500)
commit17d9c7e826ac1a4cb4a2ae5ab93fb149dccb349e
treed68376fb90a189e81df725575cbc960d925ccd9b
parent918008baddc311e810c4bdc5fd548ee10fc83399
Replace opt_no_head with opt_head_rev in order to save the HEAD rev

Add is_initial_commit macro which replaces opt_no_head tests. Also,
update ref_head and ref_commit with the resolved HEAD revision.
tig.c