contrib git-resurrect: find traces of a branch name and resurrect it
authorThomas Rast <trast@student.ethz.ch>
Wed, 4 Feb 2009 10:04:18 +0000 (11:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 4 Feb 2009 23:07:49 +0000 (15:07 -0800)
commite1ff064e1bffedb917c491681b7bfd4d66633ef5
treec227c0affad2d07b9be3245ba8bf0acab8603685
parentde8139005f04a4a5ad8a54c771475803594028cd
contrib git-resurrect: find traces of a branch name and resurrect it

Add a tool 'git-resurrect.sh <branch>' that tries to find traces of
the <branch> in the HEAD reflog and, optionally, all merge commits in
the repository.  It can then resurrect the branch, pointing it at the
most recent of all candidate commits found.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/git-resurrect.sh [new file with mode: 0755]