# [PATCH 3/3] Human friendly git: add another human readable option.

4 messages from 2007-04-01 to 2007-04-01. Participants: Sloof Lirpa, Marco Costalba, Shawn O. Pearce, Eric Wong.
Thread: https://gitlist.dev/t/7489

## Sloof Lirpa, 2007-04-01 00:00

Subject: [PATCH 3/3] Human friendly git: add another human readable option.
Message-ID: <7vk5wx556z.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vk5wx556z.fsf%40assigned-by-dhcp.cox.net

```
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

```

## Marco Costalba, 2007-04-01 07:38

Subject: Re: [PATCH 3/3] Human friendly git: add another human readable option.
Message-ID: <e5bfff550704010038g74173d2ekb78b2da41a5779c0@mail.gmail.com>
URL: https://gitlist.dev/e/e5bfff550704010038g74173d2ekb78b2da41a5779c0%40mail.gmail.com
In-Reply-To: <7vk5wx556z.fsf@assigned-by-dhcp.cox.net>

```
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 ;-)

```

## Shawn O. Pearce, 2007-04-01 07:47

Subject: Re: [PATCH 3/3] Human friendly git: add another human readable option.
Message-ID: <20070401074701.GD15922@spearce.org>
URL: https://gitlist.dev/e/20070401074701.GD15922%40spearce.org
In-Reply-To: <e5bfff550704010038g74173d2ekb78b2da41a5779c0@mail.gmail.com>

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

```

## Eric Wong, 2007-04-01 10:39

Subject: Re: [PATCH 3/3] Human friendly git: add another human readable option.
Message-ID: <20070401103902.GA2334@muzzle>
URL: https://gitlist.dev/e/20070401103902.GA2334%40muzzle
In-Reply-To: <7vk5wx556z.fsf@assigned-by-dhcp.cox.net>

```
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

```
