summaryrefslogtreecommitdiff
path: root/sh/ccp
diff options
context:
space:
mode:
Diffstat (limited to 'sh/ccp')
-rwxr-xr-xsh/ccp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/ccp b/sh/ccp
index c30734c..f0ba485 100755
--- a/sh/ccp
+++ b/sh/ccp
@@ -18,9 +18,9 @@ for branch in $(git branch | awk '{print ($1=="*")?$2:$1}'); do
git pull
done
-git checkout master
-
< "$XDG_DATA_HOME/mydata/cfgl_cherry_picked" read -r picked
+# need checkout to master branch to list new master branch commits
+git checkout master
for commit in $(git rev-list --reverse "$picked..HEAD"); do
git show "$commit"
printf 'Enter branch name to cherry pick this commit: (a for all, enter to skip)\n'