Commit Graph

12 Commits

Author SHA1 Message Date
Markus Hitter a88bf4ef16 git-step-rebase: remove pause.
This script is now reliable enough to no longer need investigation
stops.

One can still stop an ongoing step-rebase by hitting Ctrl-C, then
doing a 'git rebase --abort'.
2017-06-04 17:13:41 +02:00
Markus Hitter d3867f112c git-step-rebase: enable the rerere-mechanism.
Git provides a mechanism to record conflict solutions done with
one rebase and replaying that when rebasing another branch. That's
what's Rerere is about. Unfortunately, a rebase still stops after
resolving all conflicts with recordings, so convenience is a bit
limited.

If Rerere is disabled in a repo or there are no recorded solutions,
this option has no effect.
2017-06-04 17:09:35 +02:00
Markus Hitter 606611a070 git-step-rebase: count distance to branch head correctly.
Without --first-parent, 'git rev-list' counts commits on merged
branches, too. Not noticed on Teacup, because we have no merges
here, but in another repo this came up.
2017-06-04 17:05:37 +02:00
Markus Hitter 7a36302cd7 git-step-rebase: try the faster standard rebase mode.
Standard mode, like without ignoring whitespace changes. Only if
that fails, try again with whitespace ignorance.

Reason for this attempt is, rebases not ignoring whitespace are
significantly faster and much less verbose. As 99% of all rebases
work fine without ignoring whitespace, it's a good idea to try
that first.
2017-04-25 20:26:23 +02:00
Markus Hitter 92926aadf5 git-step-rebase: slightly nicer progress report. 2017-04-25 20:00:13 +02:00
Markus Hitter b1ba8b4003 git-step-rebase: --whitespace=fix was apparently fixed. 2017-04-25 19:49:48 +02:00
Markus Hitter fce7337e01 git-regtest: abort on regression test failure.
I wonder a bit why this wasn't done this way before ...
2016-04-20 21:46:37 +02:00
Markus Hitter 959e803eac Git tools: a few minor improvements.
Behaviour should be unchanged, but the same tools can be used for
gEDA/pcb now, too.
2015-09-14 15:24:03 +02:00
Markus Hitter 421fe3d641 Tools: add git-regtest.
This is a tool to run regression tests over a whole series of
commits. Typical usage:

  git checkout <topic branch>
  tools/git-regtest experimental

This runs 'make regressiontest' for every single commit between
experimental and HEAD of the topic branch. Very convenient to make
sure not a single commit introduces regressions.

If there are regressions, the tools stops at the commit bringing
in the regression, so you immediately know where to look.
2015-07-30 17:15:57 +02:00
Markus Hitter 5846961744 Tools: add git-step-rebase.
This is a tool for rebasing step by step, like described in
issue #81. It reliefs from all the manual typing, just rebase
a topic branch like this:

  git checkout <topic branch>
  tools/git-step-rebase experimental

Linking or copying this script somewhere into the PATH even allows
to use it from within git:

  git step-rebase ...
2015-07-30 16:21:32 +02:00
Phil Hord 3fcd6b3c59 deriv.awk: Calculate derivative of every column
Instead of just two columns (x and y) in the trace file, treat
every column as a function and calculate the first derivative
of it without regard for its supposed "meaning".  In addition
to getting more data from this, it also allows us to calculate
the 2nd derivative easily by running the script again on the
resulting data.

Also convert time in column 1 from microseconds to seconds.
2014-03-04 19:57:28 +01:00
Phil Hord 199d6d2bb4 Show velocity from simulator trace file
Add a tool (tools/velocity_plot.sh) to read in a simulator trace
file, calculate the velocity of the X and Y axes, and show a plot
of these velocities against time along with the X and Y positions.
2013-12-06 19:24:58 +01:00