Re: [PATCH 06/10] Move read_cache_unmerged() to read-cache.c

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Thursday, June 5, 2008 - 4:05 pm

Miklos Vajna <vmiklos@frugalware.org> writes:


Looks good, but as a public interface probably it needs a few lines of
comment in front of the function's definition to describe what it is used
for.  Perhaps like...

/*
 * Read the index file that is potentially unmerged into given
 * index_state, dropping any unmerged entries.  Returns true is
 * the index is unmerged.  Callers who want to refuse to work
 * from an unmerged state can call this and check its return value,
 * instead of calling read_cache().
 */
--
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:
[PATCH 00/10] Build in merge, Miklos Vajna, (Thu Jun 5, 1:44 pm)
[PATCH 01/10] Move split_cmdline() to alias.c, Miklos Vajna, (Thu Jun 5, 1:44 pm)
[PATCH 02/10] Move commit_list_count() to commit.c, Miklos Vajna, (Thu Jun 5, 1:44 pm)
Re: [PATCH 06/10] Move read_cache_unmerged() to read-cache.c, Junio C Hamano, (Thu Jun 5, 4:05 pm)
[PATCH] Move read_cache_unmerged() to read-cache.c, Miklos Vajna, (Fri Jun 6, 6:00 pm)