Code

cvsimport: fix relative argument filenames
authorJeff King <peff@peff.net>
Mon, 19 Oct 2009 06:49:55 +0000 (02:49 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Oct 2009 07:31:02 +0000 (00:31 -0700)
commitf6fdbb6804eac72eb0ccff191162a5911bf2b014
tree94a1a3b438a6eb279045faac564008c62faa8d12
parentb142da2a5dec8f868a61322e2ab591e9a008ec3b
cvsimport: fix relative argument filenames

One of the first things that cvsimport does is chdir to the
newly created git repo. This means that any filenames given
to us on the command line will be looked up relative to the
git repo directory. This is probably not what the user
expects, so let's remember and prepend the original
directory for relative filenames.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl