zsh-users
 help / color / mirror / code / Atom feed
From: "Suraj N. Kurapati" <sunaku@gmail.com>
To: zsh-users@zsh.org
Subject: [PATCH] Misc/vcs_info: self-document ahead/behind example
Date: Wed, 19 Oct 2011 12:51:42 -0700	[thread overview]
Message-ID: <20111019125142.191065ad@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 78 bytes --]

Attached, thanks.

-- 
Row, row, row your bits, gently down the stream...

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Misc-vcs_info-self-document-ahead-behind-example.patch --]
[-- Type: text/x-patch, Size: 937 bytes --]

From 11571b1f506bf0eddc5932b106cee9a8650c993c Mon Sep 17 00:00:00 2001
From: "Suraj N. Kurapati" <sunaku@gmail.com>
Date: Wed, 19 Oct 2011 12:40:39 -0700
Subject: [PATCH] Misc/vcs_info: self-document ahead/behind example

---
 Misc/vcs_info-examples |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Misc/vcs_info-examples b/Misc/vcs_info-examples
index ba3b2c3..21f0c12 100644
--- a/Misc/vcs_info-examples
+++ b/Misc/vcs_info-examples
@@ -177,8 +177,8 @@ zstyle ':vcs_info:git*+set-message:*' hooks git-untracked
 
 ### git: Show +N/-N when your local branch is ahead-of or behind remote HEAD.
 # Make sure you have added misc to your 'formats':  %m
-zstyle ':vcs_info:git*+set-message:*' hooks git-st
-function +vi-git-st() {
+zstyle ':vcs_info:git*+set-message:*' hooks git-aheadbehind
+function +vi-git-aheadbehind() {
     local ahead behind
     local -a gitstatus
 
-- 
1.7.7


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

                 reply	other threads:[~2011-10-19 19:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111019125142.191065ad@gmail.com \
    --to=sunaku@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).