GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Sast checks · Issue #129 · gitpython-developers/gitdb

This repository was archived by the owner on Jul 26, 2026. It is now read-only.
This repository was archived by the owner on Jul 26, 2026. It is now read-only.

Sast checks #129

Copy link
Copy link
Closed
#130
Closed
Sast checks#129
#130
Copy link

Description

@sminux
sminux
opened on Nov 1, 2025
Issue body actions

SonarQube reveal two issues (could be refactored):

  1. Delete this unreachable code or refactor the code to make it reachable (in both variants of validation crc/sha we have return statements):

    gitdb/gitdb/pack.py

    Line 851 in f8fdfec

    return True

  2. This branch duplicates the one on line 268.

    gitdb/gitdb/pack.py

    Line 270 in f8fdfec

    elif attr == "_packfile_checksum":

    and

    gitdb/gitdb/pack.py

    Line 268 in f8fdfec

    if attr == "_packfile_checksum":

Activity

  1. sminux
    added a commit that references this issue on Nov 1, 2025

    Update pack.py - SonarQube issues

    This issue will close once commit 8350bd5 is merged into the 'master' branch.
    8350bd5
  2. Byron
    closed this as completedin #130on Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.