git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (minor concern) git using the pager should not be a default
@ 2012-08-29 16:02 Emmanuel Michon
  2012-08-29 17:19 ` Junio C Hamano
  2012-08-29 17:50 ` Junio C Hamano
  0 siblings, 2 replies; 8+ messages in thread
From: Emmanuel Michon @ 2012-08-29 16:02 UTC (permalink / raw)
  To: git

Hello,

I'm risking myself on this mailing list after looking for some advise on
IRC. Basically I know about this previous attempt
http://marc.info/?l=git&m=122955045415845&w=2 but my request has little
to do with emacs.

I believe UNIX recommends some rules in the «less is more» spirit when
designing command line applications [basically listed here:
http://en.wikipedia.org/wiki/Unix_philosophy].

As far as I understand those, stdin/out/err would be better left with
minimum processing. Silent execution with $? = 0 is the best thing that
can happen.

Per those rules, which I think apply to Linux apps, it would be
preferrable if the *default* setup of git didn't fork a pager, didn't
use colors, didn't behave differently whether piped or not.

Of course I would be the first to always call the tool with
git diff |less
excepted when I do git diff |diffstat
or enjoy such options as command line or environment switches to git.
when I want.

So the point is more about the appropriateness of pushing that special
ergonomy to all users, knowing it makes most users happy.

Isn't the design principle superior to the wishes of the masses?

Thanks for reading,
Don't laugh,
Keep on the good work.

Sincerely yours,

e.m.

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

end of thread, other threads:[~2012-08-31 23:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-29 16:02 (minor concern) git using the pager should not be a default Emmanuel Michon
2012-08-29 17:19 ` Junio C Hamano
2012-08-29 17:50 ` Junio C Hamano
2012-08-31 17:54   ` dag
2012-08-31 18:09     ` Andreas Schwab
2012-08-31 21:43       ` Jeff King
2012-08-31 23:03         ` dag
2012-08-31 18:48     ` Junio C Hamano

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