You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2026-05-03 15:59:50.543] [ERROR] [updatenotification] Failed to get git revisions for MagicMirror: Error: Command failed: git rev-list --ancestry-path --count 3335781..d20306c develop
fatal: ambiguous argument '3335781..d20306c develop': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Activity
khassel commentedon May 3, 2026
the problem is that
refDiff=3335781..d20306c developcan contain spaces.fails, a test with hardcoded values works:
Introduced with #4115
khassel commentedon May 3, 2026
one solution: using "args" as string param containing the whole command and do the split inside
execGit. What do you think @KristjanESPERANTO ?KristjanESPERANTO commentedon May 3, 2026
Sorry, obviously I didn't review my PR thoroughly enough.
Let me take a look at it.
KristjanESPERANTO commentedon May 3, 2026
Good approach, would have solved the problem too. I went with column-based parsing and opened PR #4138 for it. What do you think?
fix(updatenotification): fix ref diff parsing for fetch --dry-run (#4138