Code

revert: do not rebuild argv on heap
authorJonathan Nieder <jrnieder@gmail.com>
Mon, 14 Jun 2010 05:32:09 +0000 (00:32 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jun 2010 17:36:13 +0000 (10:36 -0700)
commite0ef8495e98ae5ae796ec23bf438eef413557193
tree6a00f01db78ed30adda8fe25d975b020654895d7
parent65281b70caf9dcf926c6649c8c20ef8891d6f3c3
revert: do not rebuild argv on heap

Set options in struct rev_info directly so we can reuse the
arguments collected from parse_options without modification.

This is just a cleanup; no noticeable change is intended.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/revert.c
t/t3501-revert-cherry-pick.sh