aboutsummaryrefslogtreecommitdiff
path: root/builtin-fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-03-27 13:03:56 -0700
committerJunio C Hamano <gitster@pobox.com>2008-03-27 13:03:56 -0700
commitb88605f6d4b2b1b8dd805da9e91feccb68b4c840 (patch)
tree8dd5d794d7c61220ef9c7055f1fdf18f71f6b1a5 /builtin-fetch.c
parent90b22907f2d1e0b41d7ac5c281ed20e7c8a27c66 (diff)
parenta466637c57b969626344e5998b29fb123569fdc2 (diff)
downloadgit-b88605f6d4b2b1b8dd805da9e91feccb68b4c840.tar.gz
git-b88605f6d4b2b1b8dd805da9e91feccb68b4c840.tar.xz
Merge branch 'jc/maint-fetch-regression-1.5.4' into maint
* jc/maint-fetch-regression-1.5.4: git-fetch test: test tracking fetch results, not just FETCH_HEAD Fix branches file configuration Tighten refspec processing
Diffstat (limited to 'builtin-fetch.c')
-rw-r--r--builtin-fetch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-fetch.c b/builtin-fetch.c
index 9a6ddcec9..6fd006f48 100644
--- a/builtin-fetch.c
+++ b/builtin-fetch.c
@@ -630,5 +630,6 @@ int cmd_fetch(int argc, const char **argv, const char *prefix)
signal(SIGINT, unlock_pack_on_signal);
atexit(unlock_pack);
- return do_fetch(transport, parse_ref_spec(ref_nr, refs), ref_nr);
+ return do_fetch(transport,
+ parse_fetch_refspec(ref_nr, refs), ref_nr);
}