git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-gui: use different icon for new and modified files in the index
@ 2010-01-24 18:54 Peter Oberndorfer
  2010-01-25 15:35 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Oberndorfer @ 2010-01-24 18:54 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Git Mailing List

This allows to quickly differentiate between new and modified files
in the index without selecting the file and looking at the diff.

Signed-off-by: Peter Oberndorfer <kumbayo84@arcor.de>
---

At work i often use git add '*_en.properties' and after that i like to check
which files are new and which ones where changed.

I hope this is useful for somebody else too.

While creating the patch i found out that file_parttick seems to be unused.

 git-gui/git-gui.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-gui/git-gui.sh b/git-gui/git-gui.sh
index 718277a..880252d 100755
--- a/git-gui/git-gui.sh
+++ b/git-gui/git-gui.sh
@@ -1844,7 +1844,7 @@ set ui_index .vpane.files.index.list
 set ui_workdir .vpane.files.workdir.list
 
 set all_icons(_$ui_index)   file_plain
-set all_icons(A$ui_index)   file_fulltick
+set all_icons(A$ui_index)   file_plain
 set all_icons(M$ui_index)   file_fulltick
 set all_icons(D$ui_index)   file_removed
 set all_icons(U$ui_index)   file_merge
-- 
1.6.6.1

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

* Re: [PATCH] git-gui: use different icon for new and modified files in the index
  2010-01-24 18:54 [PATCH] git-gui: use different icon for new and modified files in the index Peter Oberndorfer
@ 2010-01-25 15:35 ` Shawn O. Pearce
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn O. Pearce @ 2010-01-25 15:35 UTC (permalink / raw)
  To: Peter Oberndorfer; +Cc: Git Mailing List

Peter Oberndorfer <kumbayo84@arcor.de> wrote:
> This allows to quickly differentiate between new and modified files
> in the index without selecting the file and looking at the diff.
> 
> Signed-off-by: Peter Oberndorfer <kumbayo84@arcor.de>

Thanks.

> While creating the patch i found out that file_parttick seems to be unused.

Yup, it is unused.  Thanks for noticing, I removed it.

-- 
Shawn.

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

end of thread, other threads:[~2010-01-25 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-24 18:54 [PATCH] git-gui: use different icon for new and modified files in the index Peter Oberndorfer
2010-01-25 15:35 ` Shawn O. Pearce

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