author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | |
Sat, 26 Mar 2011 09:04:25 +0000 (16:04 +0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Mar 2011 00:02:57 +0000 (17:02 -0700) | ||
commit | b892913d51795ee66d825bedd23e5c4ffe85ebb2 | |
tree | 77bdd69eeae4251d6478746c36dcb531d059eded | tree | snapshot |
parent | 9b125da490990ae4d08dd1517dc38b188b874fa8 | commit | diff |
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>
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 | diff | blob | history | |
dir.h | diff | blob | history |