Skip to content

Using git to explore the history of a file change... #7

@al-the-x

Description

@al-the-x

The invoke() function in src/auto/injector.js jumps through some hoops to allow two different method signatures: one with locals and one without. Using some of the following techniques, figure out:

  1. When that change occurred
  2. What was the previous function signature
  3. Why did it change?

The git log subcommand will be your friend here. Github has a built-in version -- the "history" panel -- that you can fall back on. Explore the various options to git log and pay special attention to the flags -S, -G, --pickaxe-regex and --word-diff. They'll help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions