mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
stamp: the message consists in all terms after the identifier
no need to put quotes in case of spaces
This commit is contained in:
parent
c9463bf6ef
commit
4aec48c85c
|
|
@ -974,7 +974,7 @@ Reference the issues numbers from your bug tracker
|
|||
|
||||
```bash
|
||||
$ git stamp Issue FOO-123
|
||||
$ git stamp Issue "FOO-456 #close"
|
||||
$ git stamp Issue FOO-456 \#close
|
||||
|
||||
Fix timezone bug
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ init_variables() {
|
|||
|
||||
usage() {
|
||||
cat << EOF
|
||||
usage: git ${COMMAND} [<options>] <id> [<message>]
|
||||
usage: git ${COMMAND} [<options>] <id> [<messages>]
|
||||
|
||||
Options:
|
||||
-r, --replace replace all previous stamps with same id
|
||||
|
|
@ -73,7 +73,7 @@ parse_options() {
|
|||
done
|
||||
|
||||
ID="$1"
|
||||
MSG="$2"
|
||||
MSG="${@:2}"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
\fBgit\-stamp\fR \- Stamp the last commit message
|
||||
.
|
||||
.SH "SYNOPSIS"
|
||||
\fBgit stamp [<options>] <id> [<message>]\fR
|
||||
\fBgit stamp [<options>] <id> [<messages>]\fR
|
||||
.
|
||||
.SH "DESCRIPTION"
|
||||
Lets you amend the last commit with a stamp message\.
|
||||
|
|
@ -59,7 +59,7 @@ Reference the issues numbers from your bug tracker
|
|||
.nf
|
||||
|
||||
$ git stamp Issue FOO\-123
|
||||
$ git stamp Issue "FOO\-456 #close"
|
||||
$ git stamp Issue FOO\-456 \e#close
|
||||
|
||||
| Fix timezone bug
|
||||
|
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@
|
|||
|
||||
<h2 id="SYNOPSIS">SYNOPSIS</h2>
|
||||
|
||||
<p><code>git stamp [<options>] <id> [<message>]</code></p>
|
||||
<p><code>git stamp [<options>] <id> [<messages>]</code></p>
|
||||
|
||||
<h2 id="DESCRIPTION">DESCRIPTION</h2>
|
||||
|
||||
|
|
@ -105,7 +105,7 @@ The identifier is case insensitive for this replacement
|
|||
<p>Reference the issues numbers from your bug tracker</p>
|
||||
|
||||
<pre><code>$ git stamp Issue FOO-123
|
||||
$ git stamp Issue "FOO-456 #close"
|
||||
$ git stamp Issue FOO-456 \#close
|
||||
|
||||
| Fix timezone bug
|
||||
|
|
||||
|
|
@ -141,7 +141,7 @@ $ git stamp Issue "FOO-456 #close"
|
|||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Damien Tardy-Panis <<a href="mailto:damien@tardypad.me" data-bare-link="true">damien@tardypad.me</a>></p>
|
||||
<p>Written by Damien Tardy-Panis <<a href="mailto:damien@tardypad.me" data-bare-link="true">damien@tardypad.me</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ git-stamp(1) -- Stamp the last commit message
|
|||
|
||||
## SYNOPSIS
|
||||
|
||||
`git stamp [<options>] <id> [<message>]`
|
||||
`git stamp [<options>] <id> [<messages>]`
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ Commit message is
|
|||
Reference the issues numbers from your bug tracker
|
||||
|
||||
$ git stamp Issue FOO-123
|
||||
$ git stamp Issue "FOO-456 #close"
|
||||
$ git stamp Issue FOO-456 \#close
|
||||
|
||||
| Fix timezone bug
|
||||
|
|
||||
|
|
|
|||
Loading…
Reference in a new issue