Skip to content

Contributors shows no commits for mailmapped committer name #701

@bg

Description

@bg

Issue Type: Bug

On 3 separate repos, I can reliably reproduce:

  • open vscode on a repository that has a .mailmap file to normalize all commiter names & email addresses to a single, canonical initials & email address per committer
  • open Contributors
  • look at any node under Contributors where:
    • the committer email was originally Firstname Lastname <email>
    • and the name has been replaced via .mailmap file to FL <email> (i.e. our canonical initials for the company to keep these listings brief) or any other value that differs from the original committer name
  • No commits are listed and No commits are found. is displayed instead
  • I expected to see commits for that committer listed
  • Only a name change via .mailmap triggers the bug, not an email change
  • A new commit with --author="FL <email>" correctly shows under Contributors (i.e. no name change via .mailmap, and therefore not "lost") but older commits for the same <email> still aren't shown (i.e. the only commit under the node is the one I made with my canonical name)

Thanks,
Ben

Extension version: 9.6.0
VS Code version: Code 1.33.0 (0dd516dd412d42323fc3464531b1c715d51c4c1a, 2019-04-04T15:14:28.026Z)
OS version: Windows_NT x64 10.0.17134

System Info
Item Value
CPUs Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz (4 x 2660)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_off
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 6.00GB (2.76GB free)
Process Argv .
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions