Skip to content
Commits on Jun 6, 2009
  1. @heipei

    PBGitRepository: Add method to remove branch

    heipei committed with Pieter de Bie Jun 4, 2009
    This adds a removeBranch method similar to the addBranch method. It
    calls these methods when a branch is created/deleted in the UI, avoiding
    the cost of simply calling refresh afterwards.
    Signed-off-by: Johannes Gilger <>
Commits on May 27, 2009
  1. @heipei

    PBGitRepository: Correctly indicate bare/non-bare repos

    heipei committed with May 20, 2009
    This addresses an issue with non-bare repos which had no core.bare
    variable in the config. The isBareRepository-function would work
    on the full fileURL (pointing to the .git subdir), which in turn would
    indicate a bare repo (this is what git rev-parse --is-bare-repository
    returns in .git, and the opposite is true for the superdir).
    We work around by using the working-dir for a repo (and directly
    indicating a bare repo if there is no workdir). The only issue remaining
    is the case of a bare repo manually set to "core.bare = false".
    Signed-off-by: Johannes Gilger <>
Commits on May 18, 2009
  1. @heipei

    PBGitRepository: Display branch-name in window title

    heipei committed with Pieter de Bie Mar 29, 2009
    This returns not only the name of the git-dir but also the current
    branch (or detached HEAD if no local branch is checked out).
    When reloading the refs (which also happens when checking-out using
    GitX), the displayName-method is called, updating the window-title.
    Signed-off-by: Johannes Gilger <>
Something went wrong with that request. Please try again.