David Aguilar <dav...@gmail.com> writes:

> +mergetools_txt = mergetools-diff.txt mergetools-merge.txt
> +
> +$(mergetools_txt): mergetools-list.made
> +
> +mergetools-list.made: ../git-mergetool--lib.sh $(wildcard ../mergetools/*)
> +     $(QUIET_GEN)$(RM) $@ && \
> +     $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && \
> +             . ../git-mergetool--lib.sh && \
> +             filter_tools can_diff "* "' > mergetools-diff.txt && \
> +     $(SHELL_PATH) -c 'MERGE_TOOLS_DIR=../mergetools && \
> +             . ../git-mergetool--lib.sh && \
> +             filter_tools can_merge "* "' > mergetools-merge.txt && \
> +     date > $@

Nicely done.

By omitting is_available check and only checking can_*, we would get
the same result on all platforms and I'd see tortoise appear in the
output even I do not do Windows.

Thanks.
--
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