git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gitk: Added option 'Simple history' to the options menu
@ 2009-05-07 18:50 Dirk Suesserott
  2009-05-15 19:59 ` Dirk Süsserott
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Suesserott @ 2009-05-07 18:50 UTC (permalink / raw)
  To: git, gitster; +Cc: Dirk Suesserott

When clicked, the option --simplify-by-decoration is added to gitk/git log.
This yields to a simplified history where only decorated commits are shown,
i.e. those with a yellow tag or a green branch flag.

Signed-off-by: Dirk Suesserott <newsletter@dirk.my1.cc>
---
 gitk-git/gitk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index 1a7887b..f65cf2c 100644
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -3676,6 +3676,7 @@ set known_view_options {
     {all     b    * "--all"          {mc "Use all refs"}}
     {dorder  b    . {"--date-order" "-d"}      {mc "Strictly sort by date"}}
     {lright  b    . "--left-right"   {mc "Mark branch sides"}}
+    {smplhst b    . "--simplify-by-decoration"   {mc "Simple history"}}
     {since   t15  + {"--since=*" "--after=*"}  {mc "Since date:"}}
     {until   t15  . {"--until=*" "--before=*"} {mc "Until date:"}}
     {limit   t10  + "--max-count=*"  {mc "Max count:"}}
-- 
1.6.1.9.g97c34

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

* Re: [PATCH] gitk: Added option 'Simple history' to the options menu
  2009-05-07 18:50 [PATCH] gitk: Added option 'Simple history' to the options menu Dirk Suesserott
@ 2009-05-15 19:59 ` Dirk Süsserott
  0 siblings, 0 replies; 2+ messages in thread
From: Dirk Süsserott @ 2009-05-15 19:59 UTC (permalink / raw)
  To: Dirk Suesserott; +Cc: git, gitster

Hi Junio,

some days ago I supplied a patch that adds the 
'--simplify-by-decoration' switch to gitk's options menu. This was 
inspired by Jakub Narebski's answer to 'How to restrict gitk to show 
only branch/merge commits?'.

Have you just missed it or didn't it qualify for inclusion? I didn't 
know that option and found it really helpful to get an overview about 
the history of my projects.

What do the others think?

Cheers,
     Dirk


Am 07.05.2009 20:50 schrieb Dirk Suesserott:
> When clicked, the option --simplify-by-decoration is added to gitk/git log.
> This yields to a simplified history where only decorated commits are shown,
> i.e. those with a yellow tag or a green branch flag.
> 
> Signed-off-by: Dirk Suesserott <newsletter@dirk.my1.cc>
> ---
>  gitk-git/gitk |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/gitk-git/gitk b/gitk-git/gitk
> index 1a7887b..f65cf2c 100644
> --- a/gitk-git/gitk
> +++ b/gitk-git/gitk
> @@ -3676,6 +3676,7 @@ set known_view_options {
>      {all     b    * "--all"          {mc "Use all refs"}}
>      {dorder  b    . {"--date-order" "-d"}      {mc "Strictly sort by date"}}
>      {lright  b    . "--left-right"   {mc "Mark branch sides"}}
> +    {smplhst b    . "--simplify-by-decoration"   {mc "Simple history"}}
>      {since   t15  + {"--since=*" "--after=*"}  {mc "Since date:"}}
>      {until   t15  . {"--until=*" "--before=*"} {mc "Until date:"}}
>      {limit   t10  + "--max-count=*"  {mc "Max count:"}}

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

end of thread, other threads:[~2009-05-15 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-07 18:50 [PATCH] gitk: Added option 'Simple history' to the options menu Dirk Suesserott
2009-05-15 19:59 ` Dirk Süsserott

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