1. 04 Jul, 2019 2 commits
    • attr_file: completely initialize attribute sessions · 1bbec26d
      The function `git_attr_session__init` is currently only initializing
      setting up the attribute's session key by incrementing the repo-global
      key by one. Most notably, all other members of the `git_attr_session`
      struct are not getting initialized at all. So if one is to allocate a
      session on the stack and then calls `git_attr_session__init`, the
      session will still not be fully initialized. We have fared just fine
      with that until now as all users of the function have allocated the
      session structure as part of bigger structs with `calloc`, and thus its
      contents have been zero-initialized implicitly already.
      
      Fix this by explicitly zeroing out the session to enable allocation of
      sessions on the stack.
      Patrick Steinhardt committed
    • attr: Don't fail in attr_setup if there exists a system attributes file · 18a6d9f3
      Regression introduced in commit 5452e49f on PR #4967.
      
      Signed-off-by: Sven Strickroth <email@cs-ware.de>
      Sven Strickroth committed
  2. 27 Jun, 2019 7 commits
  3. 26 Jun, 2019 6 commits
  4. 25 Jun, 2019 1 commit
  5. 24 Jun, 2019 24 commits