Web lists-archives.com

Re: [PATCH v1 2/2] log: add option to choose which refs to decorate

Rafael Ascensão <rafa.almas@xxxxxxxxx> writes:

> Would checking the output of ref_exists() make sense here?
> By that I mean, only add a trailing '/*' if the ref doesn't exist.

I do not think it would hurt, but it is not immediately obvious if
the benefit of doing so outweighs the cost of having to make an
extra call to ref_exists().