From 0d756bf05fd8f5cc0787be924944395693d514a0 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sat, 6 Dec 2014 16:06:31 -0800 Subject: [PATCH] add date to branch name. --- patch-bitcoin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patch-bitcoin.sh b/patch-bitcoin.sh index 2b6c2cdb..b380a08b 100755 --- a/patch-bitcoin.sh +++ b/patch-bitcoin.sh @@ -6,7 +6,7 @@ patch_file="$(pwd)/libbitcoind.patch" cd "$dir" || exit 1 if test -e .git; then - git checkout -b libbitcoind || exit 1 + git checkout -b "libbitcoind-$(date '+%Y.%m.%d')" || exit 1 fi patch -p1 < "$patch_file" || exit 1