From: Patrick Boettcher <pboettcher@kernellabs.com>
To: git@vger.kernel.org
Subject: git mv oddities (minor bugs)
Date: Fri, 15 Jan 2010 17:49:18 +0100 (CET) [thread overview]
Message-ID: <alpine.LRH.2.00.1001151728070.9232@pub3.ifh.de> (raw)
Hi all,
I'm currently using a lot of git mv to clean up some code. This includes
renaming of files and moving them to new pathes inside the clone.
Everything's working very fine except two very small things I've
encountered:
1) git mv from/file to/subdir/ - subdir does not exists
Instead of git telling me that 'subdir' does not exist it is executing the
mv and 'file' is now called 'to/subdir' .
I'm almost sure this is a bug: the trailing / seems to be ignored.
2) git mv from/file to/subdir/new_name - subdir does not exists
Git is telling me the following:
fatal: renaming 'from/file' failed: No such file or directory
This is a little bit misleading as it is 'to/subdir' which is "No such
file or directory" .
I'm not sure what to do with this one - changing the error message a
little bit might a good idea.
I'm using:
$ git --version
git version 1.6.4.4
I was looking for a bug tracker at git-scm.org - didn't find any. So I'm
not sure where to log my findings. How should I continue?
--
Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/
reply other threads:[~2010-01-15 16:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=alpine.LRH.2.00.1001151728070.9232@pub3.ifh.de \
--to=pboettcher@kernellabs.com \
--cc=git@vger.kernel.org \
/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