diff options
| author | Junio C Hamano <gitster@pobox.com> | 2007-11-13 13:45:11 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2007-11-13 13:45:11 -0800 |
| commit | 71aa2b8f0ee7cb2e60871f327996af21af88a668 (patch) | |
| tree | 05852eb2d293bd35ebf70d0a1723a1e03b31c73d /git-gui/lib/commit.tcl | |
| parent | git-clean: Fix error message if clean.requireForce is not set. (diff) | |
| download | git-71aa2b8f0ee7cb2e60871f327996af21af88a668.tar.gz git-71aa2b8f0ee7cb2e60871f327996af21af88a668.zip | |
Resurrect git-revert.sh example and add comment to builtin-revert.c
I had to scratch my head for quite some time figuring out why we
cannot optimize out write_tree() we do when --no-commit option
is given, whose purpose seem to be only to check if the index is
unmerged, with a simple loop over the active_cache[].
So add a comment to describe why the write_tree() is there, and
resurrect the last scripted version as a reference material in
contrib/example directory with others.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions
