Skip to content
Snippets Groups Projects
Select Git revision
  • v2.46.0
  • master default protected
  • seen
  • next
  • todo
  • maint
  • jch
  • v2.50.1
  • v2.50.0
  • v2.47.3
  • v2.48.2
  • v2.49.1
  • v2.43.7
  • v2.44.4
  • v2.45.4
  • v2.46.4
  • v2.50.0-rc2
  • v2.50.0-rc1
  • v2.50.0-rc0
  • v2.49.0
  • v2.49.0-rc2
  • v2.49.0-rc1
  • v2.49.0-rc0
  • v2.48.1
  • v2.48.0
  • v2.48.0-rc2
  • v2.48.0-rc1
27 results

refs

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Junio C Hamano authored
    A CPP macro USE_THE_REPOSITORY_VARIABLE is introduced to help
    transition the codebase to rely less on the availability of the
    singleton the_repository instance.
    
    * ps/use-the-repository:
      hex: guard declarations with `USE_THE_REPOSITORY_VARIABLE`
      t/helper: remove dependency on `the_repository` in "proc-receive"
      t/helper: fix segfault in "oid-array" command without repository
      t/helper: use correct object hash in partial-clone helper
      compat/fsmonitor: fix socket path in networked SHA256 repos
      replace-object: use hash algorithm from passed-in repository
      protocol-caps: use hash algorithm from passed-in repository
      oidset: pass hash algorithm when parsing file
      http-fetch: don't crash when parsing packfile without a repo
      hash-ll: merge with "hash.h"
      refs: avoid include cycle with "repository.h"
      global: introduce `USE_THE_REPOSITORY_VARIABLE` macro
      hash: require hash algorithm in `empty_tree_oid_hex()`
      hash: require hash algorithm in `is_empty_{blob,tree}_oid()`
      hash: make `is_null_oid()` independent of `the_repository`
      hash: convert `oidcmp()` and `oideq()` to compare whole hash
      global: ensure that object IDs are always padded
      hash: require hash algorithm in `oidread()` and `oidclr()`
      hash: require hash algorithm in `hasheq()`, `hashcmp()` and `hashclr()`
      hash: drop (mostly) unused `is_empty_{blob,tree}_sha1()` functions
    7b472da9
    History