diff options
author | Junio C Hamano <junkio@cox.net> | 2005-12-22 18:14:31 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-12-22 18:14:31 -0800 |
commit | c63da8d8e8c5b5078e59af15c1a41ff98ad61d59 (patch) | |
tree | 26958529f1ffcf1a257fe602c1d49664c46d8b64 /show-branch.c | |
parent | 8d712aafd2df3c1f5147a28947f98cefe667cf76 (diff) | |
parent | 1e80e0449248edb77b0fb9853f4a3404a599e207 (diff) | |
download | git-1.0.3.tar.gz git-1.0.3.tar.xz |
GIT 1.0.3v1.0.3
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'show-branch.c')
-rw-r--r-- | show-branch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/show-branch.c b/show-branch.c index c7422460b..3fe62b717 100644 --- a/show-branch.c +++ b/show-branch.c @@ -303,7 +303,7 @@ static int append_ref(const char *refname, const unsigned char *sha1) return 0; if (MAX_REVS <= ref_name_cnt) { fprintf(stderr, "warning: ignoring %s; " - "cannot handle more than %d refs", + "cannot handle more than %d refs\n", refname, MAX_REVS); return 0; } @@ -537,7 +537,7 @@ int main(int ac, char **av) if (MAX_REVS <= num_rev) die("cannot handle more than %d revs.", MAX_REVS); if (get_sha1(ref_name[num_rev], revkey)) - die("'%s' is not a valid ref.\n", ref_name[num_rev]); + die("'%s' is not a valid ref.", ref_name[num_rev]); commit = lookup_commit_reference(revkey); if (!commit) die("cannot find commit %s (%s)", |