Thread (9 messages) flat view 9 messages, 2 authors, 2016-06-15

Re: [PATCH 6/6] sha1_name: implement @{push} shorthand

From: Jeff King <hidden>
Date: 2016-06-15 23:04:20

On Tue, Mar 31, 2015 at 05:41:02PM -0400, Eric Sunshine wrote:
On Tue, Mar 31, 2015 at 1:38 PM, Jeff King [off-list ref] wrote:
quoted
Signed-off-by: Jeff King <redacted>
---
diff --git a/Documentation/revisions.txt b/Documentation/revisions.txt
index 0796118..5d9df25 100644
--- a/Documentation/revisions.txt
+++ b/Documentation/revisions.txt
@@ -98,6 +98,31 @@ some output processing may assume ref names in UTF-8.
   `branch.<name>.merge`).  A missing branchname defaults to the
   current one.

+'<branchname>@\{push\}', e.g. 'master@\{push\}', '@\{push\}'::
+  The suffix `@{push}` reports the branch "where we would push to" if
+  `git push` were run while `branchname` was checked out (or the current
+  `HEAD` is no branchname is specified). Since our push destination is
s/is no/if no/
Thanks, fixed for my re-roll.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help