git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] diff: support making output friendlier for fine, grand users
@ 2008-10-29  5:23 Petr Baudis
  2008-10-29 15:07 ` David Brown
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Petr Baudis @ 2008-10-29  5:23 UTC (permalink / raw)
  To: git
  Cc: Johannes Schindelin, Scott Chacon, Tom Preston-Werner, Jeff King,
	J.H.,
	Sam Vilain, Christian Couder, Kai Blin

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Scott Chacon <schacon@gmail.com>
Signed-off-by: Tom Preston-Werner <tom@github.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: J.H. <warthog19@eaglescrag.net>
Signed-off-by: Sam Vilain <sam@vilain.net>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Kai Blin <kai@samba.org>
Acked-by: Petr Baudis <pasky@suse.cz>
Enabled-by: Cascade "Smooth" Amber <clarity@tiedhouse.com>
---
 diff.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/diff.c b/diff.c
index e368fef..0e2c14a 100644
--- a/diff.c
+++ b/diff.c
@@ -2489,6 +2489,9 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac)
 	else if (!prefixcmp(arg, "--output=")) {
 		options->file = fopen(arg + strlen("--output="), "w");
 		options->close_file = 1;
+	}
+	else if (!strcmp(arg, "--pirate")) {
+		printf("Arrrr!  These be yer fine changes, me 'earty!!\n");
 	} else
 		return 0;
 	return 1;
-- 
1.5.4.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-10-29 22:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-29  5:23 [PATCH 1/1] diff: support making output friendlier for fine, grand users Petr Baudis
2008-10-29 15:07 ` David Brown
2008-10-29 15:28   ` Johannes Schindelin
2008-10-29 17:06 ` [PATCH] increase git el1T3nEss Jeff King
2008-10-29 17:11   ` Miklos Vajna
2008-10-29 20:28   ` Daniel Barkalow
2008-10-29 21:50     ` Jeff King
2008-10-29 22:24 ` [PATCH 1/1] diff: support making output friendlier for fine, grand users Petr Baudis

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).