[verify-commits] Fix gpg.sh's echoing for commits with '\n' #11834

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:2017-12-verify-commits-fix changing 1 files +5 −5
  1. TheBlueMatt commented at 8:23 PM on December 5, 2017: member

    Should fix master travis failures

  2. [verify-commits] Fix gpg.sh's echoing for commits with '\n' a38686cea0
  3. practicalswift commented at 9:08 PM on December 5, 2017: contributor

    @TheBlueMatt Trying to understand this fix. Do you have an example INPUT for which echo "$INPUT" would be different from printf '%s\n' "$INPUT"?

  4. TheBlueMatt commented at 9:13 PM on December 5, 2017: member

    @practicalswift in dash, echo "\n" is equivalent to echo -e "\n" in bash. printf '%s\n' "\n" always prints \n.

  5. practicalswift commented at 9:24 PM on December 5, 2017: contributor

    @TheBlueMatt Thanks for the clarification.

    utACK a38686cea035e0d480e4ee953b8e40c7f0fa2118

  6. sipa merged this on Dec 5, 2017
  7. sipa closed this on Dec 5, 2017

  8. sipa referenced this in commit 5bea05bc1d on Dec 5, 2017
  9. sipa commented at 9:33 PM on December 5, 2017: member

    Lightly tested ACK a38686cea035e0d480e4ee953b8e40c7f0fa2118

  10. PastaPastaPasta referenced this in commit ff97eb6cdf on Jan 17, 2020
  11. PastaPastaPasta referenced this in commit 6b488f7c85 on Jan 22, 2020
  12. PastaPastaPasta referenced this in commit fa6a6a3de0 on Jan 22, 2020
  13. PastaPastaPasta referenced this in commit 821e6b8ca9 on Jan 29, 2020
  14. PastaPastaPasta referenced this in commit 81fe240016 on Jan 29, 2020
  15. PastaPastaPasta referenced this in commit 152f271f61 on Jan 29, 2020
  16. PastaPastaPasta referenced this in commit f32949fa91 on Jan 30, 2020
  17. ckti referenced this in commit 0228908e92 on Mar 28, 2021
  18. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-24 15:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me