<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-revert.sh, 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>2006-01-08T04:45:11Z</updated>
<entry>
<title>revert/cherry-pick: handle single quote in author name.</title>
<updated>2006-01-08T04:45:11Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-08T04:45:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=013049c985e4095106e545559c17bc594d56468d'/>
<id>urn:sha1:013049c985e4095106e545559c17bc594d56468d</id>
<content type='text'>
The same fix as aa66c7ec77d474b737da607d6cb2d07f56628def is
needed here.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-revert: Usage string clean-up</title>
<updated>2005-12-14T10:53:43Z</updated>
<author>
<name>freku045@student.liu.se</name>
<email>freku045@student.liu.se</email>
</author>
<published>2005-12-13T22:30:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4e7824b12e71127f1e3cf76fe2855887599c0dc6'/>
<id>urn:sha1:4e7824b12e71127f1e3cf76fe2855887599c0dc6</id>
<content type='text'>
Signed-off-by: Fredrik Kuivinen &lt;freku045@student.liu.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add documentation for git-revert and git-cherry-pick.</title>
<updated>2005-12-08T23:50:14Z</updated>
<author>
<name>Nikolai Weibull</name>
<email>mailing-lists.git@rawuncut.elitemail.org</email>
</author>
<published>2005-12-08T23:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=674b28085e89c3be37d07063b253069101669b55'/>
<id>urn:sha1:674b28085e89c3be37d07063b253069101669b55</id>
<content type='text'>
* Added the -e option to the documentation of git-cherry-pick.
* Added the -e and --no-commit option to git-revert.
* Removed redundant case expression for -n as --no-edit (already taken by
  --no-commit).

Signed-off-by: Nikolai Weibull &lt;nikolai@bitwi.se&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Document the --(no-)edit switch of git-revert and git-cherry-pick</title>
<updated>2005-12-05T00:34:35Z</updated>
<author>
<name>Petr Baudis</name>
<email>pasky@suse.cz</email>
</author>
<published>2005-11-26T22:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8bf14d6ef9245f3b81d24cb7725a868f62343277'/>
<id>urn:sha1:8bf14d6ef9245f3b81d24cb7725a868f62343277</id>
<content type='text'>
This switch was not documented properly. I decided not to mention
the --no-edit switch in the git-cherry-pick documentation since
we always default to no editing.

Signed-off-by: Petr Baudis &lt;pasky@suse.cz&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-sh-setup: die if outside git repository.</title>
<updated>2005-11-25T21:49:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-24T08:12:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ae2b0f15180d4b044828c836bcab6a990efa5c8e'/>
<id>urn:sha1:ae2b0f15180d4b044828c836bcab6a990efa5c8e</id>
<content type='text'>
Now all the users of this script detect its exit status and die,
complaining that it is outside git repository.  So move the code
that dies from all callers to git-sh-setup script.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-revert: make --edit default.</title>
<updated>2005-11-24T01:19:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-24T00:56:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b7884981f8f2a063f577df12c65e9af8b1a4f1b8'/>
<id>urn:sha1:b7884981f8f2a063f577df12c65e9af8b1a4f1b8</id>
<content type='text'>
Revert always should explain why, so make --edit the default,
unless stdin is not a terminal.  If you really don't want to say
anything, you can say "git-revert --no-edit $commit", or if you
are really sick, you could also say "git-revert $commit &lt;/dev/null".
But please don't.

You can also say "git-cherry-pick --edit $commit".  Not editting
the commit log message is the default for cherry-pick.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Allow editing of a revert-message</title>
<updated>2005-11-24T00:52:52Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-11-23T17:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=30c7bb249e9b2038dd05271e055d347f84336576'/>
<id>urn:sha1:30c7bb249e9b2038dd05271e055d347f84336576</id>
<content type='text'>
I think all commit operations should allow editing of the message (ie we
should do this for merges too), but that's _particularly_ true of doing a
"git revert".

We should always explain why we needed to revert something.

This patch adds a "-e" or "--edit" flag to "git revert", although I
actually suspect it should be on by default (and we should have a
"--no-edit" flag to disable it, probably together with an automatic
disable if stdin isn't a terminal).

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not lose author name information to locale gotchas.</title>
<updated>2005-11-11T08:37:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-11T07:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e3e291fc07b49b74bb655ca854bdb19e849e044c'/>
<id>urn:sha1:e3e291fc07b49b74bb655ca854bdb19e849e044c</id>
<content type='text'>
I noticed format-patch loses authorship information of Lukas' patch
when I run git tools with LC_LANG set to ja_JP.  It turns out that
the sed script to set environment variables were not working on his
name (encoded in UTF-8), which is unfortunate but technically correct.

Force sed invocation under C locale because we always want literal byte
semantics.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Do not require clean tree when reverting and cherry-picking.</title>
<updated>2005-09-27T01:04:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-25T05:52:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e2f5f6ef6795c880a2f13ea472b96704b4a4ca94'/>
<id>urn:sha1:e2f5f6ef6795c880a2f13ea472b96704b4a4ca94</id>
<content type='text'>
My stupidity deserved to be yelled at by Linus ... there is no reason
to require the working tree to be clean when merging -- the only
requirements are index to match HEAD commit and the paths involved in
merge are up to date in the working tree.  Revert and cherry-pick are
just specialized forms of merge, and the requirements should be the
same.

Remove the 'general purpose routine to make sure tree is clean' from
git-sh-setup, to prevent me from getting tempted again.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Big tool rename.</title>
<updated>2005-09-08T00:45:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-08T00:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7'/>
<id>urn:sha1:215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7</id>
<content type='text'>
As promised, this is the "big tool rename" patch.  The primary differences
since 0.99.6 are:

  (1) git-*-script are no more.  The commands installed do not
      have any such suffix so users do not have to remember if
      something is implemented as a shell script or not.

  (2) Many command names with 'cache' in them are renamed with
      'index' if that is what they mean.

There are backward compatibility symblic links so that you and
Porcelains can keep using the old names, but the backward
compatibility support  is expected to be removed in the near
future.

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