Files
git/builtin
Karsten Blees 6bb69077b7 builtin/update-index.c: cleanup update_one
do_reupdate calls update_one with a cache_entry.name, there's no need for
the extra sanitation / normalization that happens in prefix_path.
cmd_update_index calls update_one with an already prefixed path, no need to
prefix_path twice.

Remove the extra prefix_path from update_one. Also remove the now unused
'prefix' and 'prefix_length' parameters.

As of d089eba "setup: sanitize absolute and funny paths in get_pathspec()",
prefix_path uncoditionally returns a copy, even if the passed in path isn't
changed. Lets unconditionally free() the result.

Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-11-18 13:04:25 -08:00
..
2013-09-17 11:42:34 -07:00
2013-09-09 14:36:15 -07:00
2013-09-09 14:50:44 -07:00
2013-09-09 14:36:15 -07:00
2013-10-15 16:15:00 -07:00
2013-09-17 11:42:31 -07:00
2013-09-09 14:30:29 -07:00
2013-09-20 12:36:12 -07:00
2013-09-17 11:37:33 -07:00
2013-09-09 14:36:15 -07:00
2013-09-09 14:36:15 -07:00
2013-09-09 14:36:15 -07:00
2013-09-17 11:42:51 -07:00
2013-09-09 14:36:15 -07:00
2013-09-11 14:56:59 -07:00
2013-09-20 12:36:12 -07:00
2013-07-15 10:56:07 -07:00
2013-09-20 12:36:12 -07:00