Files
git/builtin
Martin von Zweigbergk 2f328c3d2e reset $sha1 $pathspec: require $sha1 only to be treeish
Resetting with paths does not update HEAD and there is nothing else
that a commit should be needed for. Relax the argument parsing so only
a tree is required.

The sha1 is only passed to read_from_tree(), which already only
requires a tree.

The "rev" variable we pass to run_add_interactive() will resolve to a
tree. This is fine since interactive_reset only needs the parameter to
be a treeish and doesn't use it for display purposes.

Signed-off-by: Martin von Zweigbergk <martinvonz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-01-15 09:38:08 -08:00
..
2012-09-14 11:53:53 -07:00
2012-09-17 15:59:34 -07:00
2012-10-25 06:42:27 -04:00
2012-11-20 10:32:10 -08:00
2012-09-27 17:57:26 -07:00
2013-01-09 08:27:09 -08:00
2012-09-11 11:36:05 -07:00
2012-10-25 06:42:27 -04:00
2012-09-14 11:53:53 -07:00
2012-11-26 13:27:45 -08:00
2012-10-29 03:08:30 -04:00
2012-11-29 12:52:30 -08:00
2012-10-25 06:42:27 -04:00