From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Yin Ping <pkufranky@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [BUG] git-mv submodule failure
Date: Sat, 20 Oct 2007 22:24:25 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0710202223590.25221@racer.site> (raw)
In-Reply-To: <46dff0320710192301p3e1d88d5l3b662b72b051d920@mail.gmail.com>
Hi,
On Sat, 20 Oct 2007, Yin Ping wrote:
> project
> .git
> file1
> submoudle
> .git
> file2
>
> $ cd project
> $ git-mv submodule submodule1
> fatal: source directory is empty, source=submodule, destination=submodule1
>
> However, the following is ok and rename is automatically detected
> $ cd project
> $ mv submodule submodule1
> $ git-add submodule1
> $ git-commit -a
>
> which gives in vim:
> # Please enter the commit message for your changes.
> # (Comment lines starting with '#' will not be included)
> # On branch master
> # Changes to be committed:
> # (use "git reset HEAD <file>..." to unstage)
> #
> # renamed: submodule -> submodule1
> #
But of course .gitmodules is unaffected. But it should be changed, too.
Ciao,
Dscho
next prev parent reply other threads:[~2007-10-21 2:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-20 6:01 [BUG] git-mv submodule failure Yin Ping
2007-10-20 21:24 ` Johannes Schindelin [this message]
2007-10-21 5:48 ` Yin Ping
2007-10-21 10:02 ` Johannes Schindelin
2007-10-22 11:46 ` Yin Ping
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0710202223590.25221@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=pkufranky@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).