author | Miklos Vajna <vmiklos@frugalware.org> | |
Fri, 27 Jun 2008 16:21:56 +0000 (18:21 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 1 Jul 2008 05:45:50 +0000 (22:45 -0700) | ||
commit | fbca58373291afa07c5b30ab562d36ce0f6174e0 | |
tree | da36ce421480e799cec1624b8ea30ff56ef95ad9 | tree | snapshot |
parent | 653194758ee338b7c87d011007c532ed5cf68d45 | commit | diff |
Move parse-options's skip_prefix() to git-compat-util.h
builtin-remote.c and parse-options.c both have a skip_prefix() function,
for the same purpose. Move parse-options's one to git-compat-util.h and
let builtin-remote use it as well.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c and parse-options.c both have a skip_prefix() function,
for the same purpose. Move parse-options's one to git-compat-util.h and
let builtin-remote use it as well.
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c | diff | blob | history | |
git-compat-util.h | diff | blob | history | |
parse-options.c | diff | blob | history |