Revision 69310a34cb6dcca32b08cf3ea9e91ab19354a874 authored by Junio C Hamano on 22 December 2005, 20:39:39 UTC, committed by Junio C Hamano on 22 December 2005, 20:39:39 UTC
Wnen refusing to push a head, we said cryptic "remote 'branch'
object X does not exist on local" or "remote ref 'branch' is not
a strict subset of local ref 'branch'".  That was gittish.

Since the most likely reason this happens is because the pushed
head was not up-to-date, clarify the error message to say that
straight, and suggest pulling first.

First noticed by Johannes and seconded by Andreas.

Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 7246ed4
History
File Mode Size
.gitignore -rw-r--r-- 58 bytes
changelog -rw-r--r-- 5.0 KB
compat -rw-r--r-- 2 bytes
control -rw-r--r-- 2.5 KB
copyright -rw-r--r-- 978 bytes
docs -rw-r--r-- 7 bytes
git-arch.files -rw-r--r-- 46 bytes
git-core.doc-base -rw-r--r-- 301 bytes
git-core.files -rw-r--r-- 5 bytes
git-cvs.files -rw-r--r-- 44 bytes
git-doc.files -rw-r--r-- 126 bytes
git-email.files -rw-r--r-- 58 bytes
git-svn.files -rw-r--r-- 44 bytes
git-tk.files -rw-r--r-- 41 bytes
rules -rwxr-xr-x 2.2 KB

back to top