From: Michael Welsh Duggan <mwd@md5i.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Welsh Duggan <mwd@md5i.com>, emacs-devel@gnu.org
Subject: Re: merging emacs-24
Date: Fri, 28 Nov 2014 10:06:48 -0500 [thread overview]
Message-ID: <8761dzfjp3.fsf@maru2.md5i.com> (raw)
In-Reply-To: <834mtjmkvi.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 28 Nov 2014 16:59:29 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michael Welsh Duggan <mwd@md5i.com>
>> Cc: emacs-devel@gnu.org
>> Date: Fri, 28 Nov 2014 09:20:38 -0500
>>
>> I experimented with setting the GIT_TRACE and GIT_TRACE_SETUP
>> environment variables to ~/.git.log. On the upside, you get a log of
>> what was done. On the downside, you get a log of just about
>> _everything_ that was done. It is difficult to tell at a glance what
>> command you typed in versus what commands your command is running under
>> the hood. (Though git is usually fast enough that looking at the
>> timestamps can give you a very good indication of what was manual versus
>> automated.)
>>
>> It's definitely not as nice as .bzr.log, and the output is more tuned to
>> debugging git than remembering what you did. But you should probably
>> try it and see if its output is useful for you.
>
> Thanks, will do.
As an extra note: if you set GIT_TRACE_PERFORMANCE to the same log, you
a) get even more output! (Not really what you want, but...)
b) You get output when the command ends that you can trace back to the
beginning, allowing you to automate chunking the data. For example,
from running 'git fetch':
10:05:38.995341 trace.c:315 setup: git_dir: .git
10:05:38.995375 trace.c:316 setup: worktree: /usr/local/home/md5i/src/emacs/master
10:05:38.995379 trace.c:317 setup: cwd: /usr/local/home/md5i/src/emacs/master
10:05:38.995383 trace.c:318 setup: prefix: (null)
10:05:38.995388 git.c:349 trace: built-in: git 'fetch'
10:05:39.187844 run-command.c:341 trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
10:05:39.188061 exec_cmd.c:134 trace: exec: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
10:05:39.188772 trace.c:315 setup: git_dir: .git
10:05:39.188794 trace.c:316 setup: worktree: /usr/local/home/md5i/src/emacs/master
10:05:39.188797 trace.c:317 setup: cwd: /usr/local/home/md5i/src/emacs/master
10:05:39.188800 trace.c:318 setup: prefix: (null)
10:05:39.188806 git.c:349 trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
10:05:39.191515 trace.c:414 performance: 0.002864780 s: git command: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all' '--quiet'
10:05:39.192073 run-command.c:341 trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
10:05:39.192224 exec_cmd.c:134 trace: exec: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
10:05:39.192836 trace.c:315 setup: git_dir: .git
10:05:39.192856 trace.c:316 setup: worktree: /usr/local/home/md5i/src/emacs/master
10:05:39.192860 trace.c:317 setup: cwd: /usr/local/home/md5i/src/emacs/master
10:05:39.192863 trace.c:318 setup: prefix: (null)
10:05:39.192868 git.c:349 trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all'
10:05:39.195159 trace.c:414 performance: 0.002428034 s: git command: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
10:05:39.196573 run-command.c:341 trace: run_command: 'gc' '--auto'
10:05:39.196690 exec_cmd.c:134 trace: exec: 'git' 'gc' '--auto'
10:05:39.197279 trace.c:315 setup: git_dir: .git
10:05:39.197297 trace.c:316 setup: worktree: /usr/local/home/md5i/src/emacs/master
10:05:39.197301 trace.c:317 setup: cwd: /usr/local/home/md5i/src/emacs/master
10:05:39.197304 trace.c:318 setup: prefix: (null)
10:05:39.197309 git.c:349 trace: built-in: git 'gc' '--auto'
10:05:39.197418 trace.c:414 performance: 0.000230295 s: git command: 'git' 'gc' '--auto'
10:05:39.197509 trace.c:414 performance: 0.202293483 s: git command: 'git' 'fetch'
--
Michael Welsh Duggan
(md5i@md5i.com)
next prev parent reply other threads:[~2014-11-28 15:06 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <m2h9xyzd45.fsf@jbm.io>
[not found] ` <m2lhnamlnr.fsf@jbm.io>
[not found] ` <87a93eavwt.fsf@lifelogs.com>
[not found] ` <jwvd28ahs60.fsf-monnier+emacsbugs@gnu.org>
[not found] ` <87wq6hap7v.fsf@lifelogs.com>
2014-11-26 18:59 ` merging emacs-24 (was: bug#19074: Bug in auth-source.el's search of OS X Keychain) Stefan Monnier
2014-11-26 19:02 ` merging emacs-24 David Engster
2014-11-26 20:01 ` Ted Zlatanov
2014-11-26 22:16 ` Stefan Monnier
2014-11-27 17:27 ` David Engster
2014-11-27 17:55 ` Eli Zaretskii
2014-11-27 18:31 ` Andreas Schwab
2014-11-27 18:42 ` Eli Zaretskii
2014-11-27 18:46 ` David Engster
2014-11-27 18:55 ` Eli Zaretskii
2014-11-27 19:21 ` David Engster
2014-11-27 21:05 ` Stefan Monnier
2014-11-27 22:24 ` David Engster
2014-11-28 0:28 ` Ted Zlatanov
2014-11-28 8:20 ` Eli Zaretskii
2014-11-28 14:20 ` Michael Welsh Duggan
2014-11-28 14:59 ` Eli Zaretskii
2014-11-28 15:06 ` Michael Welsh Duggan [this message]
2014-11-28 14:37 ` David Kastrup
2014-11-28 15:14 ` Eli Zaretskii
2014-11-29 12:55 ` Eli Zaretskii
2014-11-29 20:01 ` Glenn Morris
2014-11-29 20:33 ` Eli Zaretskii
2014-11-27 1:54 ` Ted Zlatanov
2014-11-27 2:01 ` Óscar Fuentes
2014-11-27 2:32 ` Ted Zlatanov
2014-11-27 3:48 ` Glenn Morris
2014-11-27 3:59 ` Glenn Morris
2014-11-27 10:45 ` Andreas Schwab
2014-11-27 13:02 ` Ted Zlatanov
2014-11-27 16:23 ` Eli Zaretskii
2014-11-27 17:11 ` Andreas Schwab
2014-11-27 17:44 ` Eli Zaretskii
2014-11-27 17:56 ` Andreas Schwab
2014-11-27 18:04 ` Eli Zaretskii
2014-11-28 8:33 ` Andreas Schwab
2014-11-28 8:54 ` Eli Zaretskii
2014-11-28 15:44 ` Sergey Organov
2014-11-28 15:56 ` David Kastrup
2014-11-27 17:17 ` Stefan Monnier
2014-11-27 17:32 ` David Engster
2014-11-27 17:59 ` Andreas Schwab
2014-11-28 0:30 ` Ted Zlatanov
2014-11-28 2:55 ` Stephen J. Turnbull
2014-11-28 3:29 ` Stephen J. Turnbull
2014-11-28 8:27 ` Eli Zaretskii
2014-11-28 0:31 ` Ted Zlatanov
2014-11-29 7:20 ` Paul Eggert
2014-11-29 21:27 ` Glenn Morris
2014-11-29 22:28 ` generating Chan(was: merging emacs-24) Paul Eggert
2014-11-28 0:33 ` merging emacs-24 Ted Zlatanov
2014-11-28 8:22 ` Andreas Schwab
2014-11-28 8:31 ` Eli Zaretskii
2014-11-28 14:29 ` Stefan Monnier
2014-11-29 20:02 ` Glenn Morris
2014-11-27 16:10 ` Eli Zaretskii
2014-11-29 20:13 ` Glenn Morris
2015-02-25 21:17 Glenn Morris
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: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761dzfjp3.fsf@maru2.md5i.com \
--to=mwd@md5i.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.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://git.savannah.gnu.org/cgit/emacs.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).