public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce•org>
To: Miklos Vajna <vmiklos@frugalware•org>
Cc: Ping Yin <pkufranky@gmail•com>,
	Junio C Hamano <gitster@pobox•com>,
	Richard Purdie <rpurdie@rpsys•net>,
	git@vger•kernel.org
Subject: Re: Tracability in git commits
Date: Wed, 30 Apr 2008 20:28:27 -0400	[thread overview]
Message-ID: <20080501002827.GX29771@spearce.org> (raw)
In-Reply-To: <20080430194651.GC23672@genesis.frugalware.org>

Miklos Vajna <vmiklos@frugalware•org> wrote:
> On Thu, May 01, 2008 at 01:33:53AM +0800, Ping Yin <pkufranky@gmail•com> wrote:
> > I don't find reflog for bare repository, or must i enable it manually?
> 
> Right, reflog is disabled by default for bare repos.

`git config core.logAllRefUpdates true` right after you make the
repository solves that nicely.  I actually have a script that I use
to make a new bare central repo:

	#!/bin/sh
	git --git-dir="$1" init &&
	git --git-dir="$1" config core.logAllRefUpdates true ||
	exit

;-)

-- 
Shawn.

  reply	other threads:[~2008-05-01  0:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-29 12:55 Tracability in git commits Richard Purdie
2008-04-29 16:08 ` Johannes Schindelin
2008-04-29 21:34 ` Junio C Hamano
2008-04-29 21:56   ` Richard Purdie
2008-04-30  2:51     ` Shawn O. Pearce
2008-04-30 17:33   ` Ping Yin
2008-04-30 19:46     ` Miklos Vajna
2008-05-01  0:28       ` Shawn O. Pearce [this message]
2008-05-01  5:09         ` Ping Yin
2008-04-30 10:06 ` Jakub Narebski
2008-04-30 10:32   ` Richard Purdie
2008-05-01  1:26     ` Martin Langhoff
2008-05-01  7:34       ` Martin Langhoff
2008-05-01 19:03         ` Junio C Hamano
2008-05-01 22:21           ` Martin Langhoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080501002827.GX29771@spearce.org \
    --to=spearce@spearce$(echo .)org \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    --cc=pkufranky@gmail$(echo .)com \
    --cc=rpurdie@rpsys$(echo .)net \
    --cc=vmiklos@frugalware$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox