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

Re: [External] Re: gitk -m ?

From
UPUxío Prego <uprego@madiva.com>
Date
Aug 14, 2017, 16:47 UTC
Message-ID
<CANidDKbad2rYK0Cm=VejSp0FU7MRvCzo5Sxfzr-XTLYjbtfWtg@mail.gmail.com>
In-Reply-To
<605cecc7f196495fa3d25113f28915e0@UUSALE0M.utcmail.com>

I do not know if you can do what you want, mostly if you can do what you want as simply as you might be wanting that you want it, but I guess you could use this gitk boot command as a _simple_ work around somehow aliased within your command line configuration:

    $ gitk (--all)? $(git log -m --follow --pretty=format:%h PATHSPEC)

Alternatively, there is a _view configuration_ menu (_new view_, _edit view_) where there is a text box labeled _Command to generate more commits to include_. If you type here:

    git log -m --follow --pretty=format:%h PATHSPEC

I do not know what will happen and I can not test that now (I eventually will), but chances are it could do what you wanted. Maybe you can even use custom aliases in there that text box.

I guess you are receiving a more authorized answer soonish, in the meanwhile, hope that helped.

Regards,

On 14 Aug 2017, at 15:20, Burkhardt, Glenn B UTAS <Glenn.Burkhardt@utas.utc.com> wrote:

They don't. In particular, information about commits that are parts of merges is missing.

Here's an example. There are only two entries listed in 'gitk --all' for a particular file (sorry, I'd prefer to include a screen sho, but the mailing list doesn't allow HTML messages).

gitk --all MANIFEST.MF
Parent: f7462684ae78720aac05c929256d770118cf01fa (initial clone from
Clearcase integ3 branch)
Branches: master, remotes/origin/master, remotes/origin/ww, ww
Follows:
Precedes:
   require java 1.8
Child:  240f151d61fd4fd06f377bc52970b3574e5f9031 (require java 1.8)
Branches: master, remotes/origin/master, remotes/origin/ww, ww
Follows:
Precedes:
   initial clone from Clearcase integ3 branch
git log with '-m' and '-follow' shows:

$ git log -m --follow --oneline MANIFEST.MF 9cc8be4 (from 1222d7c) Merge branch 'master' into ww; strategy "ours" a423f2d (from f869950) merge from ww branch; remove Bundle-NativeCode 51f0628 (from 2c6478c) Merge branch 'ww' of coverity:rmps into ww 240f151 require java 1.8 f746268 initial clone from Clearcase integ3 branch

-----Original Message-----
From: Uxío Prego [mailto:uprego@madiva.com]
Sent: Monday, August 14, 2017 01:12
To: Burkhardt, Glenn B UTAS
Cc: git@vger.kernel.org
Subject: [External] Re: gitk -m ?

Not sure what you are wanting to achieve, but please make sure neither `gitk PATHSPEC` nor `gitk --all PATHSPEC` are presenting you enough information.

On 3 Aug 2017, at 19:37, Burkhardt, Glenn B UTAS <Glenn.Burkhardt@utas.utc.com> wrote:

I've been looking in 'gitk' for an option that does what 'git log -m' does. Did I miss something? In particular, I'd like to get information about a file that's currently available with "git log -m --all --follow", but presented in 'gitk'. If it's not there, please consider this a feature request.

Thanks.
Previous: Burkhardt, Glenn B UTASNext: Burkhardt, Glenn B UTAS
Message 4 of 6 in “gitk -m ?”
  1. Burkhardt, Glenn B UTASAug 3, 2017
  2. Uxío PregoAug 14, 2017
  3. Burkhardt, Glenn B UTASAug 14, 2017
  4. Uxío PregoAug 14, 2017
  5. Burkhardt, Glenn B UTASAug 14, 2017
  6. Uxío PregoAug 14, 2017

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.