Move remote parsing into a library file out of builtin-push.
commit5751f49010ec54164b93529e31165e71f5996856
authorDaniel Barkalow <barkalow@iabervon.org>
Sat, 12 May 2007 15:45:53 +0000 (12 11:45 -0400)
committerJunio C Hamano <junkio@cox.net>
Mon, 21 May 2007 04:32:56 +0000 (20 21:32 -0700)
tree7d56b34b50d596d25cd8dd396c3155828e27d021
parent93d496a560cdcd4f72c8dee1b0b2efa324e1c3bb
Move remote parsing into a library file out of builtin-push.

The new parser is different from the one in builtin-push in two ways:
the default is to use the current branch's remote, if there is one,
before "origin"; and config is used in preference to remotes.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
builtin-push.c
remote.c [new file with mode: 0644]
remote.h [new file with mode: 0644]