diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2015-08-14 15:12:34 -0700 |
---|---|---|
committer | Jacob Keller <jacob.e.keller@intel.com> | 2015-08-14 15:12:34 -0700 |
commit | b666a0e61b222d646945083f5de22dcbc71531d3 (patch) | |
tree | a2657b1a0e0dd71550466462c5941be06a749e87 | |
parent | 8ca608cd71f9bb8985e1f847d16b75d7c53e2a93 (diff) | |
download | aiaiai-b666a0e61b222d646945083f5de22dcbc71531d3.tar.gz |
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 <jacob.e.keller@intel.com>
-rwxr-xr-x | email/aiaiai-email-autodetect-project | 2 |
1 files changed, 1 insertions, 1 deletions
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)" |