From b666a0e61b222d646945083f5de22dcbc71531d3 Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Fri, 14 Aug 2015 15:12:34 -0700 Subject: [PATCH] aiaiai: specify rev-list to correctly list revisions 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 --- email/aiaiai-email-autodetect-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/email/aiaiai-email-autodetect-project b/email/aiaiai-email-autodetect-project index 465f6c2..e12f170 100755 --- a/email/aiaiai-email-autodetect-project +++ b/email/aiaiai-email-autodetect-project @@ -101,7 +101,7 @@ for prj in $expected_prj $(get_cfgfile_projects_list "$cfgfile"); do # 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)" -- 2.49.0