Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

—relative= option ignored? #584

Closed
dabrahams opened this Issue · 3 comments

3 participants

@dabrahams

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

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

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

#594

@tarsius
Owner

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

@tarsius tarsius closed this
@tarsius tarsius added this to the 2.1.0 milestone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.