On Thu, Aug 5, 2010 at 11:09, Jonathan Nieder [off-list ref] wrote:
Some tweaks to simplify adding and running tests.
- Use test_tick for predictable, sort of realistic commit dates;
git checkout side &&
echo same line | append_cr >>file &&
echo same line >>control_file &&
git add file control_file &&
+ test_tick &&
git commit -m "add line from b" &&
git tag b &&
FWIW this looks like it could use Dmitry's "test-lib.sh: introduce 4th
argument to test_commit() specifying a tag name" patch. Maybe that
goes for most of these git add/tick/commit/tag combos, i.e. they don't
really need $commit_message != $tagname.