Code

git.el: Make status refresh faster.
authorAlexandre Julliard <julliard@winehq.org>
Tue, 8 Jan 2008 13:49:09 +0000 (14:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 9 Jan 2008 00:17:44 +0000 (16:17 -0800)
commitef40b3efe0764f7b56c2745601690e9cc12428d8
treeb9979fea4c119e435d125729a76b99102b82ff93
parent58152a02d99b499c338b633e7fe021b337313bd8
git.el: Make status refresh faster.

Don't set the needs-refresh flag when inserting a new file info, since
ewoc refreshes it upon insert already; this makes a full refresh twice
as fast.

Also make git-fileinfo-prettyprint a little faster by not retrieving
permission values twice.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el