1
0
mirror of https://github.com/git/git.git synced 2025-03-25 16:04:57 +00:00
Theo Niessink d1c69255a1 real_path: do not assume '/' is the path seperator
real_path currently assumes it's input had '/' as path seperator.
This assumption does not hold true for the code-path from
prefix_path (on Windows), where real_path can be called before
normalize_path_copy.

Fix real_path so it doesn't make this assumption. Create a helper
function to reverse-search for the last path-seperator in a string.

Signed-off-by: Theo Niessink <theo@taletn.com>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-05-27 10:59:16 -07:00
..
2010-12-16 12:55:36 -08:00
2010-12-16 12:55:36 -08:00
2009-04-22 19:03:39 -07:00
2008-09-30 14:30:06 -07:00
2009-03-02 18:28:06 -08:00
2010-12-12 21:49:52 -08:00
2007-06-07 00:04:01 -07:00
2010-11-23 16:06:50 -08:00
2010-08-14 19:35:38 -07:00
2009-09-18 20:00:42 -07:00