Skip to content

--full-diff does not work with line-log (git log -L)  #1004

Open
@phil-blain

Description

@phil-blain

One might want to look at the history of a bunch of lines in a file, i.e. git log -L 234,255:path/to/file, or of a particular function, i.e. git log -L:function_name:path/to/file, while still examining all changes introduced by the commits that touched these lines.

If one uses a pathspec with git log, i.e. git log path/to/file, this behaviour can be achieved with the --full-diff option. It would be great if this option would also work with git log -L.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions