git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Suggestion: improve cherry-pick message in case object is not found
@ 2011-08-09  9:58 Piotr Krukowiecki
  0 siblings, 0 replies; only message in thread
From: Piotr Krukowiecki @ 2011-08-09  9:58 UTC (permalink / raw)
  To: Git Mailing List

Hi,

I'd like to suggest improving message displayed by cherry-pick (and
others?) when it's given non-existing sha1. For example:

$ git cherry-pick 2ac2d6d5997de01b84de54fe8ac5c7d6bba139ca
fatal: bad object 2ac2d6d5997de01b84de54fe8ac5c7d6bba139ca

The "fatal: bad object" suggest to me that the object is found but is
incorrect/corrupted. It took me some time (in which I managed to run
git fsck) to find out that I ran this git on wrong repository, which
did not have object with this sha1.

Is it possible to change this message to for example:
fatal: could not find object 2ac2d6d5997de01b84de54fe8ac5c7d6bba139ca

Thanks,

-- 
Piotr Krukowiecki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-09  9:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-09  9:58 Suggestion: improve cherry-pick message in case object is not found Piotr Krukowiecki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).