DeLorean clone, a dawn of contributing to this project? ;) >> See fancy git-clone --progress indicator <<

by zdharma
macOS ◆ xterm-256color ◆ bash 796 views

We need a new git option – ”core.progress_pipe”, which in the presented example would be set to:

/usr/local/bin/git-process-output.zsh

Git can do simple popen() on the script/program set in the core.progress_pipe, and write unchanged progress text to the pipe and then read from it, then forward to stderr (the normal progress destination).

Git can do this perfectly, while the above current-method of obtaining a custom progress-indicator with git is little problematic, requires to forward both stderr and stdout, althought the script properly detects e.g. Password: and similar lines and forwards them to stdout (thus logging-in works).

That said, doing |& ... after each git-clone operation is not a solution. Can git be extended with the basic popen() code?