A nice, beauty progress metter for Git Clone + a feature request
- From
Sebastian Gniazdowski <sgniazdowski@gmail.com>
- Date
- Mar 10, 2023, 11:37 UTC
- Message-ID
- <CAKc7PVA14_mjZeuED1Ee0Mu5YoCSrR4FNNhSEKFHmnKnc-gESQ@mail.gmail.com>
- In-Reply-To
- <CAKc7PVD_65vB5+meeO3xcu4ASbqr85LBGUO8Ntb7SvbO+NNHmQ@mail.gmail.com>
Check out: https://asciinema.org/a/566216
Feature request is: add a pipe={cmd} option to git, that would just pass through the git clone --progress output into {cmd}. This is EXTREMELY EASY TO DO SO, ONLY
FILE *pipe=popen(cmd_option_str, "w") ;
is needed, and one can then write to `pipe` file handler.
-- Best regards, Sebastian Gniazdowski