From: Johannes Sixt Date: Tue, 26 Aug 2008 12:10:33 GMT Subject: Re: [PATCH (GITK,GIT-GUI,DOCS) 2/7] gitk: Support calling git gui blame from gitk. Message-ID: <48B3F2B9.4030403@viscovery.net> In-Reply-To: <18611.55963.306938.896762@cargo.ozlabs.ibm.com> Paul Mackerras schrieb: > Alexander Gavrilov writes: > >> Add a new item to the file list popup menu, that >> calls git gui blame for the selected file, starting >> with the first parent of the current commit. > > Also applied, also with some edits to the description. > >> + $flist_menu add command -label [mc "Blame parent commit"] \ >> + -command {external_blame 1} > > Why the parent commit rather than the current commit? For the lines that the current commit *adds*, you know who is to blame (the current commit). Once you know that, you are usually interested in who is to blame for the lines that the current commit *removed*. To get this information, you must "Blame the parent commit". -- Hannes