Skip to content

Instantly share code, notes, and snippets.

@aussielunix
Created December 21, 2013 22:29
Show Gist options
  • Save aussielunix/8075934 to your computer and use it in GitHub Desktop.
Save aussielunix/8075934 to your computer and use it in GitHub Desktop.
git seems confused about STDOUT vs STDERR. The message from checking out a branch is always sent to STDERR even though there is no error.
[2013-12-22T09:27:50+11:00] DEBUG: Running command: ["git clone https://github.com/puppetlabs/puppetlabs-vcsrepo modules/vcsrepo"]
[2013-12-22T09:27:56+11:00] DEBUG: ---STDOUT---
[2013-12-22T09:27:56+11:00] DEBUG: Cloning into 'modules/vcsrepo'...
[2013-12-22T09:27:56+11:00] DEBUG: ------------
[2013-12-22T09:27:56+11:00] DEBUG: ---STDERR---
[2013-12-22T09:27:56+11:00] DEBUG:
[2013-12-22T09:27:56+11:00] DEBUG: ------------
[2013-12-22T09:27:56+11:00] DEBUG: Running command: ["git checkout -b 0.1.0 0.1.0"]
[2013-12-22T09:27:56+11:00] DEBUG: ---STDOUT---
[2013-12-22T09:27:56+11:00] DEBUG:
[2013-12-22T09:27:56+11:00] DEBUG: ------------
[2013-12-22T09:27:56+11:00] DEBUG: ---STDERR---
[2013-12-22T09:27:56+11:00] DEBUG: Switched to a new branch '0.1.0'
[2013-12-22T09:27:56+11:00] DEBUG: ------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment