aboutsummaryrefslogtreecommitdiff
path: root/tree-walk.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2009-06-25 22:48:31 -0600
committerJunio C Hamano <gitster@pobox.com>2009-06-27 14:10:10 -0700
commit2d8ad46919213ebbd7bb72eb5b56cca8cc3ae07f (patch)
tree5a9467aa072492d03abaf31f3855cc97f53e8124 /tree-walk.c
parent32164131db0984544b222ac515f95f917fa01441 (diff)
downloadgit-2d8ad46919213ebbd7bb72eb5b56cca8cc3ae07f.tar.gz
git-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 'tree-walk.c')
0 files changed, 0 insertions, 0 deletions