Re: [PATCH v2 00/11] git worktree (re)move
- From
Stefan Beller <sbeller@google.com>
- Date
- Nov 30, 2016, 00:18 UTC
- Message-ID
- <CAGZ79kb21Ewm4Lnr87mpk-YdYiUaQUKtJQm+Voqq_4wfRExgYQ@mail.gmail.com>
- In-Reply-To
- <xmqqfumaf5lf.fsf@gitster.mtv.corp.google.com>
On Tue, Nov 29, 2016 at 11:28 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 8 quoted lines
> Duy Nguyen <pclouds@gmail.com> writes: > >> Another way, as pointed out by j6t, is go with "move within filesystem >> only", at least at the first step. Which is probably a good idea >> anyway so we can concentrate on git-specific stuff before going to >> minor and complicated copy/move details. > > Yup, that is a very sensible approach.
In case you decided to go another way than a plain rename, please make it easy to reuse (e.g. move_directory_safely exposed to the rest of the codebase). I'd find use for that in the series currently queued as:
sb/submodule-intern-gitdir
which moves git directories of submodules around (from inside the submodule/.git to the superprojects .git/modules/<name>)
Thanks, Stefan