* [PATCH 3/3] Human friendly git: add another human readable option.
@ 2007-04-01 0:00 Sloof Lirpa
2007-04-01 7:38 ` Marco Costalba
2007-04-01 10:39 ` Eric Wong
0 siblings, 2 replies; 4+ messages in thread
From: Sloof Lirpa @ 2007-04-01 0:00 UTC (permalink / raw)
To: Junio C Hamamo; +Cc: git
Building on top of the previous patches, this allows you to say:
$ git, please nicely ls-files
to get a paginated output of ls-files.
Signed-off-by: Sloof Lirpa <sitemaster@cox.net>
---
git.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/git.c b/git.c
index 7909fd3..9124998 100644
--- a/git.c
+++ b/git.c
@@ -42,6 +42,9 @@ static int handle_options(const char*** argv, int* argc)
if (!strcmp(cmd, "please"))
; /* no-op */
+ else if (!strcmp(cmd, "nicely"))
+ setup_pager();
+
else if (cmd[0] != '-')
break;
--
1.5.1.rc3.26.g4f01
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] Human friendly git: add another human readable option.
2007-04-01 0:00 [PATCH 3/3] Human friendly git: add another human readable option Sloof Lirpa
@ 2007-04-01 7:38 ` Marco Costalba
2007-04-01 7:47 ` Shawn O. Pearce
2007-04-01 10:39 ` Eric Wong
1 sibling, 1 reply; 4+ messages in thread
From: Marco Costalba @ 2007-04-01 7:38 UTC (permalink / raw)
To: Sloof Lirpa; +Cc: Junio C Hamamo, git
On 4/1/07, Sloof Lirpa <sitemaster@cox.net> wrote:
> Building on top of the previous patches, this allows you to say:
>
> $ git, please nicely ls-files
>
> to get a paginated output of ls-files.
>
When 'talking' to a computer I would rather prefer to type as less as
possible, but I understand it's a personal taste.
Marco
P.S: What about git, c'mon gimme that f*** files!!
Please don't get hungry, just a joke ;-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] Human friendly git: add another human readable option.
2007-04-01 7:38 ` Marco Costalba
@ 2007-04-01 7:47 ` Shawn O. Pearce
0 siblings, 0 replies; 4+ messages in thread
From: Shawn O. Pearce @ 2007-04-01 7:47 UTC (permalink / raw)
To: Marco Costalba; +Cc: Sloof Lirpa, Junio C Hamamo, git
Marco Costalba <mcostalba@gmail.com> wrote:
> On 4/1/07, Sloof Lirpa <sitemaster@cox.net> wrote:
> >Building on top of the previous patches, this allows you to say:
> >
> > $ git, please nicely ls-files
> >
> >to get a paginated output of ls-files.
> >
>
> When 'talking' to a computer I would rather prefer to type as less as
> possible, but I understand it's a personal taste.
I once worked with someone whose PS1 was set to:
PS1='and now I shall '
It was quite humerous to read the screenbuffer from a terminal:
and now I shall make world
...
and now I shall make clean
...
and now I shall telnet remotesystem
...
and now I shall kill 1899
;-)
--
Shawn.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 3/3] Human friendly git: add another human readable option.
2007-04-01 0:00 [PATCH 3/3] Human friendly git: add another human readable option Sloof Lirpa
2007-04-01 7:38 ` Marco Costalba
@ 2007-04-01 10:39 ` Eric Wong
1 sibling, 0 replies; 4+ messages in thread
From: Eric Wong @ 2007-04-01 10:39 UTC (permalink / raw)
To: Sloof Lirpa; +Cc: Junio C Hamamo, git
Sloof Lirpa <sitemaster@cox.net> wrote:
> Building on top of the previous patches, this allows you to say:
>
> $ git, please nicely ls-files
>
> to get a paginated output of ls-files.
Next we need:
$ git, pretty please show
for cute dancing penguins to appear!
--
Eric Wong
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-01 10:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-01 0:00 [PATCH 3/3] Human friendly git: add another human readable option Sloof Lirpa
2007-04-01 7:38 ` Marco Costalba
2007-04-01 7:47 ` Shawn O. Pearce
2007-04-01 10:39 ` Eric Wong
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).