From: Josef Weidendorfer Date: Wed, 30 Nov 2005 14:50:10 GMT Subject: Re: [PATCH] Make git-mv work in subdirectories, too Message-ID: <200511301550.10644.Josef.Weidendorfer@gmx.de> In-Reply-To: <20051129221024.GB3033@steel.home> On Tuesday 29 November 2005 23:10, Alex Riesen wrote: > It actually works in subdirs. > > --- t/t4007-mv.sh > test_expect_success \ > 'moving the file' \ > 'cd path0 && git-mv COPYING ../path1/COPYING' Thanks for the test. After moving to path1, you should check the other way, too: cd path0 && git-mv ../path1/COPYING COPYING And this currenly does *not* work because git-mv is only aware of the git-controlled files in the subdirectory. We probably also should check that source and target are in the same git repo. Josef