diff options
| author | Mazo, Andrey <amazo@checkvideo.com> | 2019-04-01 18:02:26 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-04-02 11:25:41 +0900 |
| commit | ff8c50ed0c98d9bc6aaf5fc2e93bd976c3076750 (patch) | |
| tree | 58c9981e1271d5e05931949f8837e046fb73347e /commit.c | |
| parent | git-p4: match branches case insensitively if configured (diff) | |
| download | git-ff8c50ed0c98d9bc6aaf5fc2e93bd976c3076750.tar.gz git-ff8c50ed0c98d9bc6aaf5fc2e93bd976c3076750.zip | |
git-p4: don't groom exclude path list on every commit
Currently, `cloneExclude` array is being groomed (by removing trailing "...")
on every changeset.
(since `extractFilesFromCommit()` is called on every imported changeset)
As a micro-optimization, do it once while parsing arguments.
Also, prepend "/" and remove trailing "..." at the same time.
Signed-off-by: Andrey Mazo <amazo@checkvideo.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
