Add user-definable tree-ish support to archive all script.