diff options
author | Elijah Newren <newren@gmail.com> | 2009-06-25 22:48:31 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-06-27 14:10:10 -0700 |
commit | 2d8ad46919213ebbd7bb72eb5b56cca8cc3ae07f (patch) | |
tree | 5a9467aa072492d03abaf31f3855cc97f53e8124 /t | |
parent | fast-export: Do parent rewriting to avoid dropping relevant commits (diff) | |
download | tgif-2d8ad46919213ebbd7bb72eb5b56cca8cc3ae07f.tar.xz |
fast-export: Add a --tag-of-filtered-object option for newly dangling tags
When providing a list of paths to limit what is exported, the object that
a tag points to can be filtered out entirely. This new switch allows
the user to specify what should happen to the tag in such a case. The
default action, 'abort' will exit with an error message. With 'drop', the
tag will simply be omitted from the output. With 'rewrite', if the object
tagged was a commit, the tag will be modified to tag an alternate commit.
The alternate commit is determined by treating the original commit as the
"parent" of the tag and then using the parent rewriting algorithm of the
revision traversal machinery (related to the "--parents" option of "git
rev-list")
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions