filter-repo: avoid relaying progress or checkpoint directives
We don't expect to ever get progress or checkpoint directives in normal operation, but the --stdin flag makes it a possibility. In such a case, the progress directives could actually break our parsing since git-fast-import will just print it to its stdout, which is what we read from to find new commit names so we can do commit message hash updating. So, pass these along to a progress_callback, but don't dump them by default. Also, it is not clear checkpoint directives make sense given that we'll be filtering and only getting a subset of history (and I'm dubious on checkpoint's utility in general anyway as fast-import is relatively quick), so pass these along to a callback but don't use them by default. Signed-off-by: Elijah Newren <newren@gmail.com>pull/13/head
parent
8a8a15b998
commit
3f0bfc2925
Loading…
Reference in New Issue