git stderr output can't pipe

前端 未结 3 983
轻奢々
轻奢々 2020-12-09 19:12

I\'m writing a graphical URI handler for git:// links with bash and zenity, and I\'m using a zenity \'text-info\' dialog to show git\'s clone output while it\'s running, usi

3条回答
  •  生来不讨喜
    2020-12-09 19:44

    I think that at least some of progress reports gets silenced when output is not a terminal (tty). I'm not sure if it applies to your case, but try to pass --progress option to 'git clone' (i.e. use git clone --progress ).

    Though I don't know if it is what you wanted to have.

提交回复
热议问题