Move parse-options's skip_prefix() to git-compat-util.h
commitfbca58373291afa07c5b30ab562d36ce0f6174e0
authorMiklos Vajna <vmiklos@frugalware.org>
Fri, 27 Jun 2008 16:21:56 +0000 (27 18:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jul 2008 05:45:50 +0000 (30 22:45 -0700)
treeda36ce421480e799cec1624b8ea30ff56ef95ad9
parent653194758ee338b7c87d011007c532ed5cf68d45
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
git-compat-util.h
parse-options.c