On Wed, Jun 05, 2013 at 12:43:18PM +0300, Elan Ruusamäe wrote:
> On 04.06.2013 18:29, qboosh wrote:
> >commit d5dab9b29e05a829d0773920d97e7a2897e1d587
> >Author: Jakub Bogusz <qbo...@pld-linux.org>
> >Date:   Tue Jun 4 17:17:32 2013 +0200

> >     Back to libjpeg 8d in this spec
> >     This reverts commit 57a92107f9272dcaec4e19f5b9cb86d6bd0eeaa5.

> why not just had truncated the history?

I guess that libjpeg-8 was cloned from libjpeg using ssh git@.... copy
So history truncation would require rewriting of master branch on
server, which is possible only for gitadmins.

> like git checkout SHA1; git reset --hard ..

??? It wouldn't work. git checkout sha1 would result and in detached
HEAD and subsequent git reset --hard wouldn't not update any branch.
If you want reset master to a different commit it should be:

git checkout master (if current branch is not master)
git reset --hard <commit>

-- 
  Kacper
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to