Re: [PATCH] fix `git mv existing-dir non-existing-dir`*
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Aug 8, 2023, 18:40 UTC
- Message-ID
- <20230808184054.cjhiboifschkwuoz@tb-raspi4>
- In-Reply-To
- <xmqqy1il77wp.fsf@gitster.g>
On Tue, Aug 08, 2023 at 10:36:54AM -0700, Junio C Hamano wrote:
> "Sebastian Thiel via GitGitGadget" <gitgitgadget@gmail.com> writes: > > > From: Sebastian Thiel <sebastian.thiel@icloud.com> > >
The patch makes sense to me, Junio's comments included.
> Shouldn't it do something similar to > > $ mv D1 D2
Couldn't resist to test it ;-)
The result would be renamed: D1/file1 -> D2/D1/file1