From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: Git log of all (modifying) commands run on a repo? Date: Thu, 8 Feb 2007 09:51:56 -0800 (PST) Message-ID: References: <17866.20355.744025.133326@lisa.zopyra.com> <7vd54l60gg.fsf@assigned-by-dhcp.cox.net> <7vtzxx4k1c.fsf@assigned-by-dhcp.cox.net> <7v8xf94hq1.fsf@assigned-by-dhcp.cox.net> <7vmz3p321n.fsf@assigned-by-dhcp.cox.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Johannes Schindelin , git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Thu Feb 08 18:52:12 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HFDRL-0000Lw-Lc for gcvg-git@gmane.org; Thu, 08 Feb 2007 18:52:12 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752343AbXBHRwF (ORCPT ); Thu, 8 Feb 2007 12:52:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752347AbXBHRwF (ORCPT ); Thu, 8 Feb 2007 12:52:05 -0500 Received: from smtp.osdl.org ([65.172.181.24]:56932 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752343AbXBHRwC (ORCPT ); Thu, 8 Feb 2007 12:52:02 -0500 Received: from shell0.pdx.osdl.net (fw.osdl.org [65.172.181.6]) by smtp.osdl.org (8.12.8/8.12.8) with ESMTP id l18HpudD025980 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 8 Feb 2007 09:51:57 -0800 Received: from localhost (shell0.pdx.osdl.net [10.9.0.31]) by shell0.pdx.osdl.net (8.13.1/8.11.6) with ESMTP id l18Hpu5X020758; Thu, 8 Feb 2007 09:51:56 -0800 In-Reply-To: <7vmz3p321n.fsf@assigned-by-dhcp.cox.net> X-Spam-Status: No, hits=-3.436 required=5 tests=AWL,PATCH_UNIFIED_DIFF_OSDL X-Spam-Checker-Version: SpamAssassin 2.63-osdl_revision__1.114__ X-MIMEDefang-Filter: osdl$Revision: 1.175 $ X-Scanned-By: MIMEDefang 2.36 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, 7 Feb 2007, Junio C Hamano wrote: > > I think we are in agreement. I showed an outright hacky one > because I am not ready to do somewhat involved one at the end of > the rc period. How about this? It makes "git reflog [show]" act as git log -g --pretty=oneline --abbrev-cmit and is fairly straightforward. So you can just write git reflog or git reflog show and it will show you the reflog in a nice format. Linus --- Documentation/git-reflog.txt | 17 +++++++++++++---- builtin-log.c | 32 ++++++++++++++++++++++++++++++++ builtin-reflog.c | 18 ++++++++++++------ builtin.h | 1 + 4 files changed, 58 insertions(+), 10 deletions(-) diff --git a/Documentation/git-bisect.txt b/Documentation/git-bisect.txt diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 1138865..bc7c987 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -8,13 +8,18 @@ git-reflog - Manage reflog information SYNOPSIS -------- -[verse] -'git-reflog' expire [--dry-run] [--stale-fix] - [--expire=