summaryrefslogtreecommitdiff
path: root/builtin-stripspace.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-07 02:03:03 -0500
committerShawn O. Pearce <spearce@spearce.org>2007-02-07 02:03:03 -0500
commit825769a8fe4d0529268fee7e763bc8f24ed4218e (patch)
tree8c8c4db7fbec5d41065d8ecaece4b6dd8d97347a /builtin-stripspace.c
parent9b92c82fde2dc42e5ec3240e673549418b88163e (diff)
downloadgit-825769a8fe4d0529268fee7e763bc8f24ed4218e.tar.gz
Teach fast-import how to clear the internal branch content.
Some frontends may not be able to (easily) keep track of which files are included in the branch, and which aren't. Performing this tracking can be tedious and error prone for the frontend to do, especially if its foreign data source cannot supply the changed path list on a per-commit basis. fast-import now allows a frontend to request that a branch's tree be wiped clean (reset to the empty tree) at the start of a commit, allowing the frontend to feed in all paths which belong on the branch. This is ideal for a tar-file importer frontend, for example, as the frontend just needs to reformat the tar data stream into a gfi data stream, which may be something a few Perl regexps can take care of. :) Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'builtin-stripspace.c')
0 files changed, 0 insertions, 0 deletions