git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Strickroth <sven.strickroth@tu-clausthal.de>
To: git@vger.kernel.org
Subject: RFC: reflog for deleted branches
Date: Thu, 03 May 2012 23:25:46 +0200	[thread overview]
Message-ID: <4FA2F7DA.6020108@tu-clausthal.de> (raw)

Hi,

an often heart question is how to restore deleted branches. Sometimes
those can be restored by using the reflog of the HEAD.

But why not create a special (ref)log for deleted branches (with SHA1,
date, name of the branch and maybe commit message of the last commit on
the deleted branch)? This way people could just look up the SHA1 of the
deleted branch and can recreate it (even if they moved the HEAD around a
lot).

-- 
Best regards,
 Sven Strickroth
 ClamAV, a GPL anti-virus toolkit   http://www.clamav.net
 PGP key id F5A9D4C4 @ any key-server

             reply	other threads:[~2012-05-03 21:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 21:25 Sven Strickroth [this message]
2012-05-03 21:37 ` RFC: reflog for deleted branches Junio C Hamano
2012-05-03 22:10   ` Sven Strickroth
2012-05-03 23:05     ` Junio C Hamano
2012-05-03 23:39       ` Sven Strickroth
2012-05-04  6:27       ` Robin Rosenberg
2012-05-04 16:24         ` Junio C Hamano
2012-05-03 22:13 ` Andrew Sayers
2012-05-04  1:17 ` Sitaram Chamarty

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=4FA2F7DA.6020108@tu-clausthal.de \
    --to=sven.strickroth@tu-clausthal.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).