You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ephraimbuddy (via GitHub)" <gi...@apache.org> on 2023/08/15 15:48:38 UTC

[GitHub] [airflow] ephraimbuddy opened a new pull request, #33411: Fix getting correct commit from multiple referenced PR

ephraimbuddy opened a new pull request, #33411:
URL: https://github.com/apache/airflow/pull/33411

   When a PR is referenced by other PRs, our dev tool for getting the correct commit lists the latest commit when looking for the commit sha but we should get the oldest.
   
   If you run:
   `git log --grep "#33145" --format=%H` returns two commits:
   ```
   3dd0c999f1159a2fefbf32d9f10208a274a79a62
   d1d6fc994d46aaed9c801162595cae91a1ffc19c
   ```
   The correct commit for the PR is `d1d6fc994d46aaed9c801162595cae91a1ffc19c` but the first one is returned.
   
   This PR uses --reverse to get the oldest commit where the PR number #33145 was mentioned which equals the PR. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] ephraimbuddy merged pull request #33411: Fix getting correct commit from multiple referenced PR

Posted by "ephraimbuddy (via GitHub)" <gi...@apache.org>.
ephraimbuddy merged PR #33411:
URL: https://github.com/apache/airflow/pull/33411


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org