Skip to contentSkip to conversation

Remove git-rename. git-mv does the same

PATCH New Josef Weidendorfer 1 participant 1 message Jun 15, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove git-rename. git-mv does the same

---

We have git-mv now since quite some time, and it does all which git-rename did, as it is derived from it. Even if you want to keep git-rename, it should be a symlink to git-mv instead.

 .gitignore                   |    1 -
 Documentation/git-rename.txt |   32 -------------------
 Documentation/git.txt        |    3 --
 Makefile                     |    2 +
 git-rename.perl              |   70 ------------------------------------------
 5 files changed, 1 insertions(+), 107 deletions(-)
 delete mode 100644 Documentation/git-rename.txt
 delete mode 100755 git-rename.perl

applies-to: e915ab830dbf42430138b4542278097d16f9f2f1 9a06e0c0981cae2417e4355ae7220f1e4bae5e85

.gitignore +0 -1
index 328b399..26398b3 100644
@@ -74,7 +74,6 @@ git-read-tree
 git-rebase
 git-receive-pack
 git-relink
-git-rename
 git-repack
 git-request-pull
 git-reset
Documentation/git-rename.txt deleted +0 -32
deleted file mode 100644
index 583cb03..0000000
@@ -1,32 +0,0 @@
-git-rename(1)
-=============
-
-NAME
-----
-git-rename - Script used to rename a file, directory or symlink.
-
-
-SYNOPSIS
---------
-'git-rename' <source> <destination>
-
-DESCRIPTION
------------
-This script is used to rename a file, directory or symlink.
-
-The index is updated after successful completion, but the change must still be
-committed.
-
-Author
-------
-Written by Linus Torvalds <[email protected]>
-Rewritten by Ryan Anderson <[email protected]>
-
-Documentation
---------------
-Documentation by David Greaves, Junio C Hamano and the git-list <[email protected]>.
-
-GIT
----
-Part of the gitlink:git[7] suite
-
Documentation/git.txt +0 -3
index a9d47c1..62c8ce7 100644
@@ -262,9 +262,6 @@ gitlink:git-push[1]::
 gitlink:git-rebase[1]::
 	Rebase local commits to new upstream head.
 
-gitlink:git-rename[1]::
-	Rename files and directories.
-
 gitlink:git-repack[1]::
 	Pack unpacked objects in a repository.
 
Makefile +1 -1
index 514ab60..24884ab 100644
@@ -94,7 +94,7 @@ SCRIPT_SH = \
 
 SCRIPT_PERL = \
 	git-archimport.perl git-cvsimport.perl git-relink.perl \
-	git-rename.perl git-shortlog.perl git-fmt-merge-msg.perl \
+	git-shortlog.perl git-fmt-merge-msg.perl \
 	git-svnimport.perl git-mv.perl git-cvsexportcommit.perl
 
 SCRIPT_PYTHON = \
git-rename.perl deleted +0 -70

70 lines not on this page · raw message

---
0.99.9.GIT