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

    PBGitRepository: Add method to remove branch

    heipei committed with Pieter de Bie
    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. Merge branch 'stable'

    * stable:
      When selecting a folder in tree-view, display the
      PBGitRepository: Correctly indicate bare/non-bare repos
      Get rid of some unnecessary casts
      CommitController: Don't rewrap commit message when amending
      Release notes for 0.6.3
      PBGitCommit: Call git show with --no-color to be safe
      Info.plist: Fix handling of directories
      PBGitIndexController: fix uninitialized value
  2. @d0k

    Get rid of some unnecessary casts

    d0k committed with
  3. Enable arguments to be passed to executeHook.

    Joe Fiorini committed with
    Some hooks, such as commit-msg and
    prepare-commit-msg require at least one argument.
    This allows executeHook to take an array of
    arguments to be passed on to the hook.
Commits on May 18, 2009
  1. Allow executing of hooks

    Pieter de Bie committed
Commits on Feb 6, 2009
  1. @oyamauchi @heipei
Commits on Jan 25, 2009
  1. PBGitCommit: Don't store refs

    We already keep this dictionary in our repository. Rather than adding a
    pointer to it on every commit in our rev walk, just look it up lazily in the
    dictionary when we need to. That cuts down some time in the initial revwalk
    and also removes some stupid code :)
Commits on Dec 22, 2008
  1. CommitView: Add option to add files to .gitignore

    Mark Bestley committed with
    In the commit view, add an option in the context menu to have git
    ignore them by adding the file names to .gitignore file in the root
    of the workarea.
Commits on Nov 19, 2008
  1. HistoryView: Remove the BranchController

    This wasn't used anyway. A good idea would be to create a new
    branchcontroller that takes care of all these revs, rather than
    letting PBGitRepository take care of that
Commits on Nov 1, 2008
  1. WebHistoryController: Move ref deletion to RefController

    That's why it's there, after all. This also makes the system
    more robust and catches some more errors.
    The next thing this enables is to also allow right-clicking
    on refs in the commit list.
Commits on Oct 14, 2008
  1. Merge branch 'pu/pb/git_config'

    * pu/pb/git_config:
      CommitView/Gistie: Use github.user and github.login
      Add a way to retrieve values from .git/config files
Commits on Oct 13, 2008
  1. GitRepository: Cache HEAD ref

    Since 63523d0 (History view:
    Make lozenge of currently checked out branch (HEAD) bold, same as gitk.),
    -[PBGitRepository headRef] was called every time a cell needed redrawing.
    This made GitX slow overall, but especially when resizing the window.
    So, it's better to cache the value. We'll still reload it with an
    explicit refresh though.
  2. Add a way to retrieve values from .git/config files

    This introduces the PBGitConfig class. It is KVC compliant as far
    as I can see, in that you can actually bind to it in IB and use
    ValueForKeyPath to retrieve values. It currently only handles
    strings; it should be possible to add functions to process
    booleans and numbers to it.
Commits on Oct 10, 2008
  1. @clj
Commits on Sep 28, 2008
  1. Don't store the windowcontroller in an iVar

    There's no need to, as we can just retrieve it from
    the WindowControllers array.
Commits on Sep 26, 2008
  1. Add a --commit option to the CLI client

    This changes a lot of code, so quick review:
    * RepositoryDocumentController now returns the document without selecting a ref
    * PBGitWindowController now optionally shows the default view, or selects no view at all
    * PBGitRepository keeps a pointer to its WindowController so that it can change views
Commits on Sep 23, 2008
  1. Fix some compiler warnings

Commits on Sep 22, 2008
  1. CommitView: Show basic files

  2. Add support for removing refs

    This is somewhat hackish, in that it reloads all commits after deleting
    a ref, but at least it works
Commits on Sep 19, 2008
  1. Reload refs on refresh

Commits on Sep 12, 2008
  1. Select existing ref if it exists

  2. Add branch control to the PBGitRepository

    This allows you to add and select specific branches
Commits on Aug 28, 2008
  1. Grapher: add first part of displaying refs

    This adds the "hasRef" boolean member in PBGitCellInfo which is set to true
    if the specific commit has symbolic refs.
    This is the first part in supporting labels just like gitk has. For now,
    commits with refs are just displayed with a red circle.
    Things that need to be done to support all refs:
    	* Make the NSDictionary in PBGitRepository contain arrays of refs,
    	  not a single string
    	* Make PBGitGrapher store all refs of a commit in the PBGitCellInfo
    	* Figure out a nice way to display the labels in PBGitRevisionCell
Commits on Aug 18, 2008
  1. @ciaran

    Avoid showing .git dirs in the recent documents menu.

    ciaran committed with
    Instead (for non-bare repos) add the directory above the .git dir.
Something went wrong with that request. Please try again.