diff --relative: help working in a bare repository
commitc0cb4a067972700f0682fbab13768bcc7dc7a3c3
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2008 08:34:39 +0000 (13 00:34 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Feb 2008 22:59:34 +0000 (13 14:59 -0800)
treecd372148a53a828f4beeff6f395dc3c87fab3698
parentcd676a513672eeb9663c6d4de276a1c860a4b879
diff --relative: help working in a bare repository

This allows the --relative option to say which subdirectory to
pretend to be in, so that in a bare repository, you can say:

    $ git log --relative=drivers/ v2.6.20..v2.6.22 -- drivers/scsi/

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt
diff.c
revision.c