Skip to content

Can't analyse deleted paths #7

@L3viathan

Description

@L3viathan

In a repo of mine, the directory containing most code was moved relatively recently.

When I call git who without params, the top committer has hundreds of commits, but most of these commits happened on the (moved) folder.

$ git who
┌─────────────────────────────────────────────────────┐
│Author                            Last Edit   Commits│
├─────────────────────────────────────────────────────┤
│[REDACTED]                        1 month ago     676│
│[REDACTED]                        2 mon. ago       78│
│[REDACTED]                        4 yr. ago         5│
...
$ git who src
┌─────────────────────────────────────────────────────┐
│Author                            Last Edit   Commits│
├─────────────────────────────────────────────────────┤
│[REDACTED]                        1 month ago      16│
│[REDACTED]                        6 mon. ago        1│
└─────────────────────────────────────────────────────┘
$ git who previousname  # now at "src/previousname"
Git subprocess exited with code 128. Error output:
fatal: ambiguous argument 'previousname': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
$ git who *
┌─────────────────────────────────────────────────────┐
│Author                            Last Edit   Commits│
├─────────────────────────────────────────────────────┤
│[REDACTED]                        1 month ago     385│
│[REDACTED]                        2 mon. ago       51│
│[REDACTED]                        4 yr. ago         3│
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions