safe_create_leading_directories(): add explicit "slash" pointer
commit831651fde8f8a8d90543917a8783962aa1a534bf
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 6 Jan 2014 13:45:21 +0000 (6 14:45 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jan 2014 17:34:19 +0000 (6 09:34 -0800)
treec6b4bc426a06327a9b18076c00bf1c52b6f462ac
parentf05023324c74bd12e66ac1dd04bbe2692c31dbfb
safe_create_leading_directories(): add explicit "slash" pointer

Keep track of the position of the slash character independently of
"pos", thereby making the purpose of each variable clearer and
working towards other upcoming changes.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_file.c