summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-10-16 23:32:03 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-10-16 23:32:03 -0400
commit317efa63fc457d1a726902ddf97298c201df627c (patch)
treed4f38c3fd8ec2a422c4db76e00b784f760540f1f /send-pack.c
parent54f0db79ca11d08a448e45cfcb6e4304c6d16014 (diff)
parent09955207d148c5f3964002b7f3a4e13db3050777 (diff)
downloadgit-317efa63fc457d1a726902ddf97298c201df627c.tar.gz
Merge branch 'maint'
* maint: Document additional 1.5.3.5 fixes in release notes Avoid 'expr index' on Mac OS X as it isn't supported filter-branch: update current branch when rewritten fix filter-branch documentation helpful error message when send-pack finds no refs in common. Fix setup_git_directory_gently() with relative GIT_DIR & GIT_WORK_TREE Correct typos in release notes for 1.5.3.5
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c
index 16ed51f6a0..c1807f0794 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -205,7 +205,8 @@ static int send_pack(int in, int out, struct remote *remote, int nr_refspec, cha
return -1;
if (!remote_refs) {
- fprintf(stderr, "No refs in common and none specified; doing nothing.\n");
+ fprintf(stderr, "No refs in common and none specified; doing nothing.\n"
+ "Perhaps you should specify a branch such as 'master'.\n");
return 0;
}