Kill git-resolve.sh
Subsystems (2)
PATCH 1/1 Kill git-resolve.sh
Seriously, is anyone still using this thing? It's collecting dust and blocking the name for something potentially useful like a tool for user-friendly marking of resolved conflicts or resolving index conflicts.
We've loved you when Git was young, now thank you and please go away. ;-)
---
.gitignore | 1 Documentation/git-resolve.txt | 36 -------------- Documentation/git.txt | 3 - Makefile | 2 - git-resolve.sh | 108 ----------------------------------------- 5 files changed, 1 insertions(+), 149 deletions(-)
.gitignore +0 -1
@@ -92,7 +92,6 @@ git-repo-config git-request-pull git-rerere git-reset -git-resolve git-rev-list git-rev-parse git-revert
Documentation/git-resolve.txt deleted +0 -36
@@ -1,36 +0,0 @@ -git-resolve(1) -============== - -NAME ----- -git-resolve - Merge two commits - - -SYNOPSIS --------- -'git-resolve' <current> <merged> <message> - -DESCRIPTION ------------ -Given two commits and a merge message, merge the <merged> commit -into <current> commit, with the commit log message <message>. - -When <current> is a descendant of <merged>, or <current> is an -ancestor of <merged>, no new commit is created and the <message> -is ignored. The former is informally called "already up to -date", and the latter is often called "fast forward". - - -Author ------- -Written by Linus Torvalds <[email protected]> and -Dan Holmsand <[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
@@ -336,9 +336,6 @@ gitlink:git-rerere[1]:: gitlink:git-reset[1]:: Reset current HEAD to the specified state. -gitlink:git-resolve[1]:: - Merge two commits. - gitlink:git-revert[1]:: Revert an existing commit.
Makefile +1 -1
@@ -169,7 +169,7 @@ SCRIPT_SH = \ git-merge-one-file.sh git-parse-remote.sh \ git-pull.sh git-rebase.sh \ git-repack.sh git-request-pull.sh git-reset.sh \ - git-resolve.sh git-revert.sh git-sh-setup.sh \ + git-revert.sh git-sh-setup.sh \ git-tag.sh git-verify-tag.sh \ git-applymbox.sh git-applypatch.sh git-am.sh \ git-merge.sh git-merge-stupid.sh git-merge-octopus.sh \
git-resolve.sh deleted +0 -108
108 lines not on this page · raw message
Quoted 7 lines · Petr Baudis
Seriously, is anyone still using this thing? It's collecting dust and blocking the name for something potentially useful like a tool for user-friendly marking of resolved conflicts or resolving index conflicts.
We've loved you when Git was young, now thank you and please go away. ;-)
Signed-off-by Petr Baudis <[email protected]>
I've always wanted to do this at some point. Perhaps add a big red warning to git-resolve.sh right now and say "after the next 'master' release this will go away" to its stdout for a few weeks to find out who screams?
On a very related note, we should prepare plan to deprecate merge-recursive.py. My preference is:
(1) rename merge-recursive.py to merge-recursive-old.py, make it available as "recursive-old" strategy.
install git-merge-recur as git-merge-recursive. Calling for "recur" or "recursive" strategy gets the same thing from this point on.
(2) remove merge-recur synonym once people who are using "USE_RECUR_FOR_RECURSIVE" or "merge.twohead = recur" to use the bleeding edge migrate.
and I think step (1) can happen fairly soon. Maybe immediately after the next release from the "master".
Perhaps that is the good timing to remove git-resolve.sh as well. Or maybe immediately before that release? I dunno, and I do not think anybody cares really much.
PATCH 1/1 Deprecate git-resolve.sh
Seriously, is anyone still using this thing? It's collecting dust and blocking the name for something potentially useful like a tool for user-friendly marking of resolved conflicts or resolving index conflicts.
We've loved you when Git was young, now thank you and please go away. ;-)
This makes git-resolve.sh print a big deprecation warning and sleep a bit for extra annoyance. It should be removed completely after the next release.
---
I won't touch git-merge-recursive.py because I really have no clue how
those fancy merge drivers work.
git-resolve.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
git-resolve.sh +4 -0
@@ -5,6 +5,10 @@ # # Resolve two trees. # +echo 'WARNING: This command is DEPRECATED and will be removed very soon.' >&2 +echo 'WARNING: Please use git-merge or git-pull instead.' >&2 +sleep 2 + USAGE='<head> <remote> <merge-message>' . git-sh-setup
Dear diary, on Sun, Sep 24, 2006 at 12:12:01AM CEST, I got a letter where Junio C Hamano <[email protected]> said that...
Quoted 2 lines
On a very related note, we should prepare plan to deprecate
merge-recursive.py.
While we are busy deprecating and removing stuff, we should also:
* probably finally get rid of git-ssh-upload and git-ssh-pull (mentioned in another thread already)
* make git-annotate alias to git-blame -c? (and probably print a deprecation warning)
Signature · 5 lines
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)Quoted 29 lines · Junio C Hamano
Quoted 7 lines · Petr Baudis
Seriously, is anyone still using this thing? It's collecting dust and blocking the name for something potentially useful like a tool for user-friendly marking of resolved conflicts or resolving index conflicts.
We've loved you when Git was young, now thank you and please go away. ;-)
Signed-off-by Petr Baudis <[email protected]>I've always wanted to do this at some point. Perhaps add a big red warning to
git-resolve.shright now and say "after the next 'master' release this will go away" to its stdout for a few weeks to find out who screams?On a very related note, we should prepare plan to deprecate
merge-recursive.py. My preference is:(1) rename
merge-recursive.pytomerge-recursive-old.py, make it available as "recursive-old" strategy.install git-merge-recur as git-merge-recursive. Calling for "recur" or "recursive" strategy gets the same thing from this point on.
(2) remove merge-recur synonym once people who are using "
USE_RECUR_FOR_RECURSIVE" or "merge.twohead = recur" to use the bleeding edge migrate.
Quoted 6 lines
and I think step (1) can happen fairly soon. Maybe immediately after the next release from the "master".
Perhaps that is the good timing to remove
git-resolve.shas well. Or maybe immediately before that release? I dunno, and I do not think anybody cares really much.
On the fairly unrelated note, would the next release be 1.4.3, or would it be 1.5.0 (the packed refs, the new index format, ...)?
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git