dag: specify options before pathspec
commit80c91aa65821e318a706cb514ce88cda16f80c89
authorDavid Aguilar <davvid@gmail.com>
Tue, 22 Aug 2023 07:08:33 +0000 (22 00:08 -0700)
committerDavid Aguilar <davvid@gmail.com>
Tue, 22 Aug 2023 07:14:42 +0000 (22 00:14 -0700)
treec4be92032b71661caa539485c50c8e51dfb0e91b
parentd004323cbbd51a7ad206f185828736ccf98b347f
dag: specify options before pathspec

The `git log --date=<format>` feature added date arguments
after the user-specified pathspec, which is a regression.
The user-specified part must always be at the end.

Closes: #1334
Reported-by: Stanislaw Halik <sthalik@misaki.pl>
Signed-off-by: David Aguilar <davvid@gmail.com>
(cherry picked from commit 9242912ebebdd63f2ba5d4560af5b263199eeb2b)
CHANGES.rst
cola/models/dag.py