fast-import: add (non-)relative-marks feature
authorSverre Rabbelier <srabbelier@gmail.com>
Fri, 4 Dec 2009 17:07:00 +0000 (18:07 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 5 Dec 2009 20:43:24 +0000 (12:43 -0800)
commitbc3c79aefc9cdb1127e1dfd22ad19cf6c6e94f09
tree80ceef0c29aca1b324d3886ee7aefd0d3f4d58d6
parent081751c882f8398081b94335faa23912a655fb1c
fast-import: add (non-)relative-marks feature

After specifying 'feature relative-marks' the paths specified with
'feature import-marks' and 'feature export-marks' are relative to an
internal directory in the current repository.

In git-fast-import this means that the paths are relative to the
'.git/info/fast-import' directory. However, other importers may use a
different location.

Add 'feature non-relative-marks' to disable this behavior, this way
it is possible to, for example, specify the import-marks location as
relative, and the export-marks location as non-relative.

Also add tests to verify this behavior.

Cc: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fast-import.txt
fast-import.c
t/t9300-fast-import.sh