Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

—relative= option ignored? #584

dabrahams opened this Issue Mar 6, 2013 · 3 comments


None yet
3 participants

dabrahams commented Mar 6, 2013

When I specify a relative directory to the log command (e.g. with `l = r d o c s RET l’) the setting seems to have no effect.

oscarfv commented Mar 7, 2013

What output do you expect?

Because for me

git log --relative=docs

makes no difference at all.

That arg is very confusing. Usually what people want is

git log -- docs

(which I just implemented on magit; expect a pull request soon)

--relative makes sense only when diffs are shown on the ouput of `git log'. AFAIK, magit has no option for showing diffs on magit-log, so the --relative arg is irrelevant.

oscarfv commented Mar 19, 2013

Added a patch implementing support for restricting the log output to a given list of files or directories here:



tarsius commented Apr 20, 2013

Closing so discussion can happen in just one place: #594. If that doesn't make sense please reopen.

@tarsius tarsius closed this Apr 20, 2013

@tarsius tarsius added this to the 2.1.0 milestone Feb 17, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment