Kill off get_relative_cwd()
commitb892913d51795ee66d825bedd23e5c4ffe85ebb2
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 26 Mar 2011 09:04:25 +0000 (26 16:04 +0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2011 00:02:57 +0000 (28 17:02 -0700)
tree77bdd69eeae4251d6478746c36dcb531d059eded
parent9b125da490990ae4d08dd1517dc38b188b874fa8
Kill off get_relative_cwd()

Function dir_inside_of() does something similar (correctly), but looks
easier to understand and does not bundle cwd to its business. Given
get_relative_cwd's only user is is_inside_dir, we can kill it for
good.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c
dir.h