On Mon, Mar 17, 2014 at 12:46 PM, Dragos Foianu <dragos.foi...@gmail.com> wrote:
> The reason I did not go with this is because I would still need the four ifs
> in order to keep the bug check part of the code. I might be able to find a
> work-around for it on the second attempt.
> I have seen N_() used in other code but I wasn't sure what its purpose was.

Aside from other comments here, more generally if you see code that
looks odd it helps to see why it was introduced initially.

In this case if you'd ran e.g.:

    git log --reverse -p -G'Branch %s set up to track remote branch %s
from %s by rebasing' -- branch.c

or otherwise searched for the first occurrence of that odd-looking
code you'd have gotten:

    commit d53a3503
    Author: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
    Date:   Thu Jun 7 19:05:10 2012 +0700

    Remove i18n legos in notifying new branch tracking setup

    Signed-off-by: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
    Signed-off-by: Junio C Hamano <gits...@pobox.com>

And searching for that commit has plenty of context for why that was
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to