Re: GIT_EXTERNAL_DIFF invoked with undocumented calling convention after unstashing conflicts

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bruno Haible <bruno@...>
Cc: <git@...>
Date: Sunday, September 30, 2007 - 3:59 pm

> "git diff --uncached" invokes the GIT_EXTERNAL_DIFF variable with just one

You are looking at an unmerged path.

    'GIT_EXTERNAL_DIFF'::
            When the environment variable 'GIT_EXTERNAL_DIFF' is set, the
            program named by it is called, instead of the diff invocation
            described above.  For a path that is added, removed, or modified,
            'GIT_EXTERNAL_DIFF' is called with 7 parameters:

    ...
    +
    For a path that is unmerged, 'GIT_EXTERNAL_DIFF' is called with 1
    parameter, <path>.

The script needs to decide how it wants to present an unmerged
path; the information on each unmerged stages can be read from
the output of "ls-files -u $thatpath".


-
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:
Re: GIT_EXTERNAL_DIFF invoked with undocumented calling conv..., Junio C Hamano, (Sun Sep 30, 3:59 pm)