Try this in your favorite repository:
$ echo foo >> Makefile $ git -P diff --name-only --relative=Ma kefile
This doesn't look right. Shouldn't the path specified with --relative be interpreted as a directory instead of an arbitrary textual prefix?
-- Hannes