When comparing two branches from GitLab repository, using gitlab api:
GET /projects/:id/repository/compare?from=master&to=feature
I get different from git diff --name-only <from> <to>
results - more files than expected. Seems like gitlab's compare returns files with old commits.
Can you help me to understand why this is happening, please?