Created
August 16, 2009 14:41
-
-
Save simple/168639 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1d94e295d4514f2a509d3b608b515e08e04d4577 Mon Sep 17 00:00:00 2001 | |
From: Leo Ju <[email protected]> | |
Date: Sun, 16 Aug 2009 21:00:21 +0900 | |
Subject: [PATCH] Added format string %r to show subversion revision | |
--- | |
src/vcprompt.c | 2 +- | |
1 files changed, 1 insertions(+), 1 deletions(-) | |
diff --git a/src/vcprompt.c b/src/vcprompt.c | |
index c55041c..bc81b89 100644 | |
--- a/src/vcprompt.c | |
+++ b/src/vcprompt.c | |
@@ -150,7 +150,7 @@ vccontext_t* probe_parents(vccontext_t** contexts, int num_contexts) | |
int main(int argc, char** argv) | |
{ | |
options_t options = { 0, /* debug */ | |
- "[%n:%b%m%u] ", /* format string */ | |
+ "[%n:%b%m%r%u] ", /* format string */ | |
0, /* show branch */ | |
0, /* show unknown */ | |
0, /* show local changes */ | |
-- | |
1.6.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment