loosing reflogs with http://samba.org/~metze/gitconfig

Stefan (metze) Metzmacher metze at samba.org
Sun Oct 24 07:30:28 MDT 2010


Hi,

in case you used my gitconfig as reference for your own ~/.gitconfig
please update!

I just noticed that the following doesn't work with never git versions
anymore
(I noticed it with 1.7.0.4 in ubuntu 10.04)

[gc]
...
	reflogexpire = 9000
	reflogexpireunreachable = 9000
...

a 'git gc' will remove ALL reflogs completely!!!!

Please change to

[gc]
...
	reflogexpire = 9000 days
	reflogexpireunreachable = 9000 days
...

or if you have a version > 1.7.0.3 use

[gc]
...
	reflogexpire = never
	reflogexpireunreachable = never
...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101024/e4ea4931/attachment.pgp>


More information about the samba-technical mailing list