contrib: show pull # in prompt for github-merge script #5449

pull laanwj wants to merge 1 commits into bitcoin:master from laanwj:2014_12_contrib_pullreq changing 1 files +3 −0
  1. laanwj commented at 9:32 AM on December 9, 2014: member

    Puts the pull id in the prompt for the shell launched by github-merge.sh. This is useful as a reminder that you're a) in a special shell b) which pull you're working on.

    user@asdf:/.../projects/bitcoin/bitcoin$ contrib/devtools/github-merge.sh 5427
    Removing qa/rpc-tests/walletbackup.sh
    Dropping you on a shell so you can try building/testing the merged source.
    Run 'git diff HEAD~' to show the changes being merged.
    Type 'exit' when done.
    
    (5427)user@asdf:/.../projects/bitcoin/bitcoin$ 
    

    The current solution is only triggered on Debian/Ubuntu, and makes use of the default PS1 building in .bashrc there. There may be a more general way, although I've tried overriding RC1 manually then bash --norc -i, but that completely replaces the prompt instead of adding to it.

  2. contrib: show pull # in prompt for github-merge script 6e6a36ce30
  3. sipa commented at 11:04 AM on December 9, 2014: member

    Tested ACK.

  4. sipa referenced this in commit 669cde9580 on Dec 9, 2014
  5. laanwj merged this on Dec 9, 2014
  6. laanwj closed this on Dec 9, 2014

  7. laanwj referenced this in commit 0a1d03ca52 on Dec 9, 2014
  8. MarcoFalke locked this on Sep 8, 2021
Contributors

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-13 15:15 UTC

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