Permalink
Commits on Apr 29, 2010
  1. v1.3.1

    defunkt committed Apr 29, 2010
  2. v1.3.0

    defunkt committed Apr 29, 2010
  3. not important

    defunkt committed Apr 29, 2010
  4. magic `cherry-pick` supports GitHub commit URLs and "user@sha" notation

    Creates new remotes if needed and fetches objects before cherry-picking.
    
        $ git cherry-pick http://github.com/mislav/REPO/commit/SHA
        > git remote add -f mislav git://github.com/mislav/REPO.git
        > git cherry-pick SHA
    mislav committed with defunkt Apr 18, 2010
  5. enhanced `git fetch <fork>` to add new remotes if missing

    A remote must be an existing repo on GitHub.
    
        $ git fetch mislav
        > git remote add mislav git://github.com/mislav/REPO.git
        > git fetch mislav
    mislav committed with defunkt Apr 18, 2010
  6. Code consistency tweaks

    defunkt committed Apr 29, 2010
  7. Some small fixes and additions to help and documentation.

    Chris Brown committed with defunkt Apr 22, 2010
  8. Fix `hub remote add` with a local path

    If the remote begins with a . or /, it's probably a local path and not a
    github repo.
    novas0x2a committed with defunkt Apr 28, 2010
Commits on Apr 27, 2010
  1. update manpage & readme tweaks. don't suggest to uninstall the "git-h…

    …ub" gem
    
    If users keep the gem installed, they have a chance to be notified of updates
    and they can refresh their standalone script. Also, executables in ~/bin should
    have precedence over gem executables, so no need to uninstall.
    mislav committed Apr 17, 2010
  2. tracking branches awarness; `git browse` subpages (e.g. `git browse r…

    …epo issues`)
    
    New abilities:
    
      $ hub compare
      -> When on a branch that tracks "remotebranch", for example,
         this opens "github.com/user/repo/compare/remotebranch".
         In effect if the tracked branch is not "master".
    
      $ hub browse reque issues
      -> open http://github.com/user/resque/issues
    
      $ hub browse
      -> When on a branch that tracks "remotebranch", for example,
         this opens "github.com/user/repo/tree/remotebranch".
         In effect if the tracked branch is not "master".
    
      $ hub browse -- commits
      -> open http://github.com/user/repo/commits/master
    
      If this branch is tracking a remote branch:
      -> open http://github.com/user/repo/commits/remotebranch
    
    Supported subpages:
    
      - "tree" (default)
      - "wiki"
      - "commits"
      - "issues", "network", "downloads" or any other arbitrary
        string is simply appended to URL path
    mislav committed Apr 17, 2010
  3. ensure that tests can't shell out to our real `git` and `open` execut…

    …ables
    
    Fake `git` and `open` executables are pushed to PATH in testing and error
    out when invoked. This is because there are tests that shell out to `git init`
    and `git clone`, or open the browser, and bugs and failures in these tests
    would previously cause them to poke around the system uncontrolled.
    mislav committed Apr 17, 2010
Commits on Apr 22, 2010
  1. tests for browser launching improvements

    tests now simulate ruby platform and commands being present
    or missing on the system.
    mislav committed Apr 22, 2010
  2. create Hub::Context and refactor how hub interacts with git

    Less juggling of constants, more ruby methods. Information that requires
    shelling out (e.g. GitHub username, token, repo name ...) is now loaded
    on demand, meaning no shelling out for commands that don't need it.
    
    Tests are now safer; they are prevented from shelling out to get info.
    All test data is stubbed.
    
    New `github_url` method builds needed URLs while keeping sensible defaults.
    
    Commands that open the browser (`compare`, `browse`) now share a bit of
    underlying implementation and recognize the same flags (`-p`, `-u`).
    mislav committed Apr 17, 2010
Commits on Apr 21, 2010
  1. Fix up `hub submodule`

    Justin Ridgewell committed with defunkt Apr 21, 2010
  2. Fixed a missing require when raking the rakefile.

    Chris Brown committed with defunkt Apr 21, 2010
  3. doc bug

    defunkt committed Apr 21, 2010
  4. Updated to use the newer ronn instead of ron.

    Fixed a problem in the ronn file this caused.
    Chris Brown committed with defunkt Apr 16, 2010
  5. Browser launching improvements

    Uses open(1) if on OS X, xdg-open(1) or cygstart(1) if either is available,
    and prefers $BROWSER above all else.
    defunkt committed Apr 21, 2010
Commits on Apr 11, 2010
  1. Switch to mg

    defunkt committed Apr 11, 2010
  2. v1.2.0

    defunkt committed Apr 11, 2010
  3. Add tests for `hub compare`

    defunkt committed Apr 11, 2010
  4. Add "compare" command.

    This command allows you to view a compare view in the browser
    from a START to an END commit.
    
    Example:
      hub compare AWESOME_PATCH...MASTER
    joshthecoder committed with defunkt Apr 11, 2010
Commits on Apr 7, 2010
  1. v1.1.0

    defunkt committed Apr 7, 2010
  2. update man with hub-fork

    defunkt committed Apr 7, 2010
  3. Tweaks, 80c, docs, -f

    defunkt committed Apr 7, 2010
  4. Colors

    defunkt committed Apr 7, 2010
  5. `hub fork` forks a project on GitHub and adds the new remote

    Usage example:
    
      $ git fork
      (forks "defunkt/hub" on GitHub)
      (git remote add mislav git@github.com:mislav/hub.git)
      new remote: mislav
    
    Use `git fork --no-remote` to skip adding the new remote.
    
    Tests use Webmock for stubbing out HTTP requests:
    
      $ gem install webmock
    mislav committed with defunkt Feb 24, 2010
Commits on Mar 30, 2010
  1. ignore standalone hub

    novas0x2a committed with defunkt Mar 30, 2010
Commits on Mar 11, 2010
  1. generate man pages

    defunkt committed Mar 11, 2010
  2. v1.0.3

    defunkt committed Mar 11, 2010
  3. Refactor remote command logic

    cehoffman committed with defunkt Mar 10, 2010