Re: [PATCH] builtin-commit: Refresh cache after adding files.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kristian
Date: Friday, November 9, 2007 - 10:13 am

On Fri, 2007-11-09 at 17:05 +0000, Johannes Schindelin wrote:

OK, I guess what I was wondering was why write_cache() doesn't write out
an up-to-date index.  I'll send an updated patch.  Do we need a call to
refresh_cache() when we update the user cache but commit an index
created from read_tree+add_files?  I.e. after the add_files_to_index()
call on line 97?  The shell script doesn't do this, it only runs
update-index --refresh for the index that gets committed.

Kristian


-
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] builtin-commit: Refresh cache after adding files., Kristian Høgsberg, (Fri Nov 9, 9:40 am)
Re: [PATCH] builtin-commit: Refresh cache after adding files., Johannes Schindelin, (Fri Nov 9, 10:05 am)
Re: [PATCH] builtin-commit: Refresh cache after adding files., Kristian , (Fri Nov 9, 10:13 am)
Re: [PATCH] builtin-commit: Refresh cache after adding files., Johannes Schindelin, (Fri Nov 9, 10:24 am)