Re: [PATCH v4 2/2] diff: generate pretty filenames in prep_temp_blob()
On Fri, May 29, 2009 at 06:22:05PM -0700, David Aguilar wrote:
Show 10 quoted lines
> > This is such an easily-factorable bit, maybe it makes sense to add as
> > basename() in compat/?
>
> I would feel a little better calling it
> git_basename(const char *) and keeping it in path.c
> [...]
> All this version cares about is being able to find the
> last dir_sep and returning a pointer.
>
> What do you think?
That sounds good to me.
-Peff