Fix a typo aiaiai-email-autodetect-project to specify rev-list command
along with branch name rather than just the branch name.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
# use git-patch-id to check if the patch has already been applied the
# branch_base and reject the patch in this case.
- for rev in $(git --git-dir="$(git_dir "$pcfg_path")" "$branch_base"); do
+ for rev in $(git --git-dir="$(git_dir "$pcfg_path")" rev-list "$branch_base"); do
revid="$(git --git-dir="$(git_dir "$pcfg_path")" show $rev | git patch-id --stable | awk '{print $1}')"
shortname="$(git --git-dir="$(git_dir "$pcfg_path")" log -1 --pretty="%h (\"%s\")" $rev)"