<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-mv.perl, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-12-06T03:12:27Z</updated>
<entry>
<title>git-mv to work with Perl 5.6</title>
<updated>2005-12-06T03:12:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@twinsun.com</email>
</author>
<published>2005-12-06T02:14:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=23c99d84601316c1e51ebc1f0b9bec5cddd011fb'/>
<id>urn:sha1:23c99d84601316c1e51ebc1f0b9bec5cddd011fb</id>
<content type='text'>
List form of pipe open is 5.8 invention.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make git-mv work in subdirectories, too</title>
<updated>2005-11-29T23:34:46Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2005-11-26T02:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4518bb88392fcd44bacae640754e7326a8fdf477'/>
<id>urn:sha1:4518bb88392fcd44bacae640754e7326a8fdf477</id>
<content type='text'>
Turns out, all git programs git-mv uses are capable of operating in
a subdirectory just fine. So don't complain about it.

[jc: I think that sounds sane.  You need to grab the exit status from
 `git-rev-parse --git-dir`, which I added.  Alex Riesen says this
 worked fine.]

Signed-off-by: Johannes Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: quote $src in regexp properly.</title>
<updated>2005-11-28T10:54:05Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-28T10:54:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=90109b320d45520cf5721de08d761ad06c0445ab'/>
<id>urn:sha1:90109b320d45520cf5721de08d761ad06c0445ab</id>
<content type='text'>
Noticed and fixed by Matthias Urlichs and Josef Weidendorfer.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: follow -k request even on failing renames</title>
<updated>2005-11-27T22:40:29Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-27T21:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=26169747b811b8ecd5693adfce4f5c7e322d2487'/>
<id>urn:sha1:26169747b811b8ecd5693adfce4f5c7e322d2487</id>
<content type='text'>
-k requests to keep running on an error condition.
Previously, git-mv stopped on failing renames even with -k.

There are some error conditions which are not checked in the
first phase of git-mv, eg. 'permission denied'. Still, option
-k should work.

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: fully detect 'directory moved into itself'</title>
<updated>2005-11-27T22:40:29Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-27T21:06:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ca203ee7db708baa278950501f8d01f29c5190be'/>
<id>urn:sha1:ca203ee7db708baa278950501f8d01f29c5190be</id>
<content type='text'>
This gives a better error message when trying to move a directory
into some subdirectory of itself; ie. no real bug fix: renaming
already failed before, but with a strange "invalid argument".

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: keep git index consistent with file system on failed rename</title>
<updated>2005-11-27T22:40:28Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-27T21:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f6bc189a457b2575587f26e27f1eabdd615b2d78'/>
<id>urn:sha1:f6bc189a457b2575587f26e27f1eabdd615b2d78</id>
<content type='text'>
When doing multiple renames, and a rename in the middle fails,
git-mv did not store the successful renames in the git index;
this is fixed by delaying the error message on a failed rename
to after the git updating.

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv: shrink usage, no usage on error</title>
<updated>2005-11-27T22:40:28Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-27T20:58:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ae64dff6894adc995c913aaf7fe2d65c78c3529'/>
<id>urn:sha1:3ae64dff6894adc995c913aaf7fe2d65c78c3529</id>
<content type='text'>
Small fixes to be consistent with other git scripts:
- usage message is only about options and arguments
- on error, exit(1) without the usage message

Additionally, "beautifies" output with -n a little bit

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-mv is not able to handle big directories</title>
<updated>2005-11-26T06:19:23Z</updated>
<author>
<name>Alexander Litvinov</name>
<email>lan@ac-sw.com</email>
</author>
<published>2005-11-23T10:19:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f359ae42ac102ef98d5708f1dc8b06e6af2701c1'/>
<id>urn:sha1:f359ae42ac102ef98d5708f1dc8b06e6af2701c1</id>
<content type='text'>
Use update-index --stdin to handle large number of files without
breaking exec() argument storage limit.

[jc: with minor cleanup from the version posted on the list]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix git-mv for moving directories with 1 file</title>
<updated>2005-11-24T00:51:26Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-23T11:04:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=073dab137a746a44606e8e11629e05ff8343346f'/>
<id>urn:sha1:073dab137a746a44606e8e11629e05ff8343346f</id>
<content type='text'>
This is fixed by putting the file into @changedfiles/@addedfiles,
and not the directory this file is in.

Additionally, this fixes the behavior for attempting to overwrite
a file with a directory, and gives a message for all cases where
overwriting is not possible (file-&gt;dir,dir-&gt;file,dir-&gt;dir).

Thanks for Alexander Litvinov for noting this problem.

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Strip any trailing slash on destination argument</title>
<updated>2005-11-01T22:45:49Z</updated>
<author>
<name>Josef Weidendorfer</name>
<email>Josef.Weidendorfer@gmx.de</email>
</author>
<published>2005-11-01T22:46:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f676fa76e26faed3ac02a9dae8f9f7addb9542a4'/>
<id>urn:sha1:f676fa76e26faed3ac02a9dae8f9f7addb9542a4</id>
<content type='text'>
Needed because generating a target paths will add another slash.
This fixes e.g. "git-mv file dir/", which removed "file" from
version control by renaming it to "dir//file", as
git-update-index does not accept such paths.

Thanks goes to Ben Lau for noting this bug.

Signed-off-by: Josef Weidendorfer &lt;Josef.Weidendorfer@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
