The git diff color output is broken because the color sequences are printed instead of being evaluated. The accepted answer here works for me (with default less pager): http://unix.stackexchange.com/questions/64927/git-diff-displays-colors-incorrectly I suggest a pkg-message added with a note describing the problem and the fix.
Auto-assigned to maintainer wxs@FreeBSD.org
Created attachment 151352 [details] devel_git.r376291.diff Adding a patch against the SVN tree (rev 376291) to include a message about configuring git in general, including the pager for broken color output.
A commit references this bug: Author: garga Date: Wed Jan 7 16:11:27 UTC 2015 New revision: 376467 URL: https://svnweb.freebsd.org/changeset/ports/376467 Log: - Add a pkg-message warning user about git diff color being broken with default PAGER [1] - Add LICENSE - Bump PORTREVISION PR: 195680 [1] Submitted by: Vlad "Blackflow" K. [1] Changes: head/devel/git/Makefile head/devel/git/pkg-message