Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 17, 2009
  1. HistoryView: don't load in commit information in a separate thread an…

    I've seen this hang or crash a few times, so I hope this works better.
    Instead of running a task in a separate thread, we just let it go through
    the run loop and catch it when the task is done.
    This ruins the second subview in the history view, but I don't think
    anybody ever used that, so I'm going to remove it.
Commits on Jun 11, 2009
  1. Add preference to ignore whitespace differences in history view

    We don't want to do this in the commit view, as that way you can't
    commit whitespace differences. You'll never be able to have a clean
    working tree, and you can't see why the files remain 'unstaged'. So, we do this
    only for the history view :)
Commits on May 18, 2009
  1. @heipei

    PBGitCommit: Call git show with --no-color to be safe

    heipei authored Pieter de Bie committed
    This fixes ticket #132, where setting color.ui = always in the gitconfig
    caused GitX to received colorized output for "git show", thereby
    destroying the diff-output.
    Signed-off-by: Johannes Gilger <>
Commits on Mar 23, 2009
  1. Fix moving of refs

    Pieter de Bie authored
    This was seriously broken after we moved to a hash
    to store the refs in ddc9ae7. Apparently nobody
    noticed this earlier.
    We fix it by doing the right thing. Don't remove the array
    if it's empty, but check in the drawing if we really have refs.
Commits on Jan 25, 2009
  1. Show renames changes by default

    Now that we have support to show file renames, we can
    enable it by default in all the diffs that we use.
  2. 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 Nov 26, 2008
  1. GitCommit: Fix patch generation

    This was broken when converting to libgit2's sha's.
    We need to use the stringSha, rather than the raw object.
Commits on Nov 24, 2008
  1. GitCommit: store the date as a timestamp

    This should speed up commit loading, as we don't
    need the date of all commits
  2. PBGitCommit: Use git_oids for parent shas

    This uses a normal c array to store parent sha's. That means that we
    save a lot of room, as they are only 20 bytes rather than 40 + the cost of
    an NSArray and the NSStrings.
  3. Include libgit2 as submodule and use it to store sha's

    This reduces GitX's memory usage and makes some operations much faster,
    like graphing, by having a cheaper comparison
Commits on Nov 17, 2008
  1. use outputForCommand instead of handleForCommand to save code, remove…

    Bryce Kerley authored
    … zombie-leaking bug
Commits on Nov 1, 2008
  1. GitCommit: Add a 'removeRef' function

    The ref functionality is somewhat weird right now, in that
    some parts of the code require a nil array when there are no
    refs. So, we add a good removeRef accessor to keep track of this
Commits on Oct 31, 2008
  1. PBWebHistoryController: show the commit diff async

    This should make the GUI more responsive by allowing the diff
    to be read in the background. This assumes that
    [PBGitCommit details] is threadsafe, so we should keep it that
Commits on Oct 10, 2008
  1. GitCommit: Add a GitX identifier to the patch output

    This is a nice way to track patches that appear on the
    internets :)
Commits on Sep 25, 2008
Commits on Sep 17, 2008
  1. Refactor cellInfo structure

    This makes the PBGitRevisionCell a bit nicer by retrieving all values
    from the PBGitCommit object itself, and using another NSTextFieldCell to
    draw the text.
    This mean that PBGitGrapher now stores its information in the PBGitCommit's,
    rather than in a custom grapher array. Also, because we don't need the
    grapher to display refs anymore, the ref labels are also displayed when
    using path limiting (for example, 'gitx -- Makefile').
Commits on Sep 12, 2008
  1. Add support for --left-right

    This draws rectangles instead of circles when someone supplies
    --left-right as a GitX argument
Commits on Jun 17, 2008
  1. PBGitRepository: Also request parents when doing our revwalk

    This is necessary for cool graph displaying, to be made.
  2. Optimize rev-list parsing

    This uses the C fgets() over the weird readLine implementation I found.
    It speeds up the rev-parsing significantly: we went from ~4.5 seconds
    on the git.git repo to ~0.95 seconds. And that's with the secret new date
Commits on Jun 16, 2008
  1. Use UTF-8 for data decoding

Commits on Jun 15, 2008
  1. Add a Tree displayer

    This displays the tree of a specific commit in an NSBrowser.
Commits on Jun 14, 2008
  1. Use a stylesheet for detailed view

    This simplifies the HTML code somewhat
  2. Add a detailed HTML view

  3. Add an author field

  4. Add a search field and subject

Something went wrong with that request. Please try again.