Skip to content

Using deploy key with write access, commits not counted #5058

@Exagone313

Description

@Exagone313
  • Gitea version (or commit ref): 1.5.2
  • Git version: 2.19.1
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io: don't want to register :/
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: irrelevant, nothing special?

Steps to reproduce

  • Set up a new SSH key as deploy key with write access to a repo (try with both an empty and non empty repo)
  • Make one (or more) commit and push

Expected result

  • Nothing abnormal, it counts all the commits

Actual result

  • Commit count is off by one (or more)
  • Files may not be shown (!) if there is no commit made by a real user, it'll show the initial Quick Guide

Screenshots

screen shot 2018-10-09 at 21 19 57-fullpage

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions