projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5c8af
)
helpful error message when send-pack finds no refs in common.
author
Andrew Clausen
<clausen@econ.upenn.edu>
Tue, 16 Oct 2007 21:16:05 +0000
(17:16 -0400)
committer
Shawn O. Pearce
<spearce@spearce.org>
Wed, 17 Oct 2007 02:01:15 +0000
(22:01 -0400)
Signed-off-by: Andrew Clausen <clausen@econ.upenn.edu>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
send-pack.c
patch
|
blob
|
history
diff --git
a/send-pack.c
b/send-pack.c
index 9fc8a812f4c526d61e3acb8183b8b8da0e36895c..fd985ed28d7f9ea1f8ba3d83313e2bce8d614d98 100644
(file)
--- a/
send-pack.c
+++ b/
send-pack.c
@@
-204,7
+204,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;
}