git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] gitk: Added option 'Simple history' to the options menu

From
DSDirk Süsserott <poststelle@suesserott.de>
Date
May 15, 2009, 19:59 UTC
Message-ID
<4A0DC997.9040604@suesserott.de>
In-Reply-To
<12417222593716-git-send-email-newsletter@dirk.my1.cc>
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:
Show 21 quoted lines
> 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:"}}
Previous: Dirk Suesserott
Message 2 of 2 in “gitk: Added option 'Simple history' to the options menu”
  1. gitk: Added option 'Simple history' to the options menuDirk Suesserott, May 7, 2009
  2. Dirk SüsserottMay 15, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.