Robert Clausecker wrote:
> There are two things git archive is missing that are needed in my use
> First, git archive in combination with tar won't remove unneeded files.
> You have to run rm -rf before manually which brings me to the next
> point; git archive can't really make incremental updates.
My advice is to keep a separate index file for your exported files.
GIT_DIR=$(readlink -f $(git rev-parse --git-dir))
export GIT_DIR GIT_INDEX_FILE
git read-tree -m -u <tree>
Hope that helps,
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html