mbox series

[v2,0/7] git-p4: a few assorted fixes for branches, excludes

Message ID cover.1553207234.git.amazo@checkvideo.com (mailing list archive)
Headers show
Series git-p4: a few assorted fixes for branches, excludes | expand

Message

Mazo, Andrey March 21, 2019, 10:32 p.m. UTC
This series fixes a few cases with branch detection
and handling of excludes by git-p4.

This is the second iteration of the patch series.
Changes since the v1 [1]:
 * Added new test case for excluded paths when detecting branches;
 * Added a new fix for excluded paths when detecting branches.

[1] https://public-inbox.org/git/cover.1551485349.git.amazo@checkvideo.com

Range-diff vs v1:
1:  3ac39171d4 = 1:  3ac39171d4 git-p4: detect/prevent infinite loop in gitCommitByP4Change()
2:  e644a8ab49 = 2:  e644a8ab49 git-p4: match branches case insensitively if configured
3:  44fed954dc = 3:  44fed954dc git-p4: don't groom exclude path list on every commit
4:  a0d3fa6add = 4:  a0d3fa6add git-p4: add failing test for "don't exclude other files with same prefix"
5:  3330f88a0d = 5:  3330f88a0d git-p4: don't exclude other files with same prefix
-:  ---------- > 6:  6170d45951 git-p4: add failing test for "git-p4: respect excluded paths when detecting branches"
-:  ---------- > 7:  758d8e8486 git-p4: respect excluded paths when detecting branches

Andrey Mazo (7):
  git-p4: detect/prevent infinite loop in gitCommitByP4Change()
  git-p4: match branches case insensitively if configured
  git-p4: don't groom exclude path list on every commit
  git-p4: add failing test for "don't exclude other files with same prefix"
  git-p4: don't exclude other files with same prefix
  git-p4: add failing test for "git-p4: respect excluded paths when detecting branches"
  git-p4: respect excluded paths when detecting branches

 git-p4.py                 | 42 ++++++++++++++++++++------------
 t/t9801-git-p4-branch.sh  | 40 ++++++++++++++++++++++++++++++
 t/t9817-git-p4-exclude.sh | 51 +++++++++++++++++++++++++++++++++++----
 3 files changed, 112 insertions(+), 21 deletions(-)


base-commit: 8104ec994ea3849a968b4667d072fedd1e688642