Skip to content
Snippets Groups Projects
Commit ffc8b429 authored by Christian Halstrick's avatar Christian Halstrick
Browse files

Add support for logAllRefUpdates configuration parameter

Honor the configuration parameter core.logAllRefUpdates when writing
reflogs.  Instead of writing reflog entries always only write
reflogs if this parameter is set to true or if the corresponding
file in the <git-dir>/logs directory already exists. In other words:
if you are updating a ref and this parameter is set to false and
there is no file corresponding to your ref in the <git-dir>/logs
folder then no reflog will be written.

This is a fix for the issue http://code.google.com/p/egit/issues/detail?id=4



Change-Id: I908e4c77e3630dc3223b2d2a47cb4534dbe4ed42
Signed-off-by: default avatarMatthias Sohn <matthias.sohn@sap.com>
Signed-off-by: default avatarChristian Halstrick <christian.halstrick@sap.com>
Signed-off-by: default avatarShawn O. Pearce <spearce@spearce.org>
parent 4cfc7baf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment