How is git diff --relative supposed to work?

From: Johannes Sixt <hidden>
Date: 2026-01-06 08:15:14

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help