summaryrefslogtreecommitdiff
path: root/src/remote.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-11-19 15:49:02 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-11-19 15:49:02 +0100
commit699dfcc3bcd4494a1532bf608aa0d84022c58dbf (patch)
treeaa0f55a13f574fcadb6b98dccbb10328f0209755 /src/remote.c
parent4d86caec599ab760b523a026040bc4f40f8338c9 (diff)
downloadlibgit2-699dfcc3bcd4494a1532bf608aa0d84022c58dbf.tar.gz
remote: clarify which list of references _ls() returns
Make it clear that this is not the ls-remote command but a way to access the data we have and how long it's kept around.
Diffstat (limited to 'src/remote.c')
-rw-r--r--src/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote.c b/src/remote.c
index 3715e43ea..b1a84075e 100644
--- a/src/remote.c
+++ b/src/remote.c
@@ -706,7 +706,7 @@ int git_remote_ls(const git_remote_head ***out, size_t *size, git_remote *remote
assert(remote);
if (!remote->transport) {
- giterr_set(GITERR_NET, "No transport bound to this remote");
+ giterr_set(GITERR_NET, "this remote has never connected");
return -1;
}