Re: cannot find hash in the log output
- From
- Eugene Sajine <euguess@gmail.com>
- Date
- Dec 2, 2010, 21:07 UTC
- Message-ID
- <AANLkTimExbMn4-E-zuAGmi+p1wNAHoetpeyr2SK6vGxk@mail.gmail.com>
- In-Reply-To
- <7v8w07rje3.fsf@alter.siamese.dyndns.org>
On Thu, Dec 2, 2010 at 3:48 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> Eugene Sajine <euguess@gmail.com> writes: > >> I have a strange issue (git v 1.7.3.2). I'm cloning the repository, >> navigating to the folder containing some scripts and performing >> git hash-object <one_of_my_scripts> >> >> Then I'm trying to run: >> >> git log --raw --no-abbrev | grep <resulting SHA1 from previous command> >> >> And i don't see anything. > > Do you see it in the output from "git ls-tree -r HEAD"? >
yes. I do see it with your command.
git ls-tree -r HEAD | grep <resulting SHA1 from git hash-object>
Thanks, Eugene