Dear diary, on Mon, Oct 23, 2006 at 05:27:49AM CEST, I got a letter where Junio C Hamano <junkio@xxxxxxx> said that... > A Large Angry SCM <gitzilla@xxxxxxxxx> writes: > > > J. Bruce Fields wrote: > >> Junio C Hamano <junkio@xxxxxxx> writes: > >>> I am considering the following to address irritation some people > >>> (including me, actually) are experiencing with this change when > >>> viewing a small (or no) diff. Any objections? > >> > >> So for me, if I run > >> > >> less -FRS file > >> > >> where "file" is less than a page, I see nothing happen whatsoever. > >> > >> At a guess, maybe it's clearing the screen, displaying the file, the > >> restoring, all before I see anything happen? > > > > Junio, > > > > How about reverting this change? From the reports here, is causing > > problems on a number of different distributions. > > Hmmm. I thought I was using gnome-terminal as well, but I > always work in screen and did not see this problem. > > Sorry, but you are right and Linus is more right. How about > doing FRSX. I should like that solution more since I hate the alternate screen, but I actually don't, since it should be left at the user's will whether to use the alternate screen or not, and Git shouldn't change the default on whim. Git is trying to be too smart here, and I think it's more annoying to override what the user is used to than having to by default press q. Yes, the user can always override Git by setting own $LESS, but that means another explicit action at the user's side is required and they don't receive any further cool flags we might stick in there later. (BTW, I don't think this is right either. In Cogito, I do LESS="$myflags$LESS" unless $CG_LESS is set, in which case I do LESS="$CG_LESS". So people like Jens who have LESS set still get sensible behaviour from Cogito _and_ they don't loose the ability to override Cogito's less flags.) BTW, I think not seeing output of paged commands is a major problem, this should probably warrant another bugfix release. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html