git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Uxío Prego" <uprego@madiva.com>
To: "Burkhardt, Glenn B UTAS" <Glenn.Burkhardt@utas.utc.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: [External] Re: gitk -m ?
Date: Mon, 14 Aug 2017 20:32:19 +0200	[thread overview]
Message-ID: <CANidDKbrt32oYjsgTuC7ji99TV0_cjbZoH2Un9UZzEicj7YtFQ@mail.gmail.com> (raw)
In-Reply-To: <6d6b4dedba7147b6bd585956db368c8b@UUSALE0M.utcmail.com>

Maybe there is a chance that combining `gitk `git log -m --follow
--pretty=format:%h PATHSPEC`` with typing in _Enter files and directories to
include, one per line:_ any (or maybe all) of the paths the doc had through
history, would do; but /me more pessimistic now.
Uxío Prego



Madiva Soluciones
CL / SERRANO GALVACHE 56
BLOQUE ABEDUL PLANTA 4
28033 MADRID
+34 917 56 84 94
www.madiva.com
www.bbva.com

The activity of email inboxes can be systematically tracked by
colleagues, business partners and third parties. Turn off automatic
loading of images to hamper it.


2017-08-14 19:54 GMT+02:00 Burkhardt, Glenn B        UTAS
<Glenn.Burkhardt@utas.utc.com>:
> Neither of those two work for me.  They don't limit the view to the single file of interest.
>
> Also, I tried "additional arguments to git log", using "-m --follow".  I filled in the single file of interest in the 'Enter files' section.  The error message was:
>
>         Can't parse git log output:  {commit 9cc8be... faab99... }
>
> -----Original Message-----
> From: Uxío Prego [mailto:uprego@madiva.com]
> Sent: Monday, August 14, 2017 12:47
> To: Burkhardt, Glenn B UTAS
> Cc: git@vger.kernel.org
> Subject: Re: [External] Re: gitk -m ?
>
> 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.

      reply	other threads:[~2017-08-14 18:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-03 17:37 gitk -m ? Burkhardt, Glenn B        UTAS
2017-08-14  5:11 ` Uxío Prego
2017-08-14 13:20   ` [External] " Burkhardt, Glenn B        UTAS
2017-08-14 16:47     ` Uxío Prego
2017-08-14 17:54       ` Burkhardt, Glenn B        UTAS
2017-08-14 18:32         ` Uxío Prego [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANidDKbrt32oYjsgTuC7ji99TV0_cjbZoH2Un9UZzEicj7YtFQ@mail.gmail.com \
    --to=uprego@madiva.com \
    --cc=Glenn.Burkhardt@utas.utc.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).