Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 21, 2014
  1. ghar: fix a typo in the regex

Commits on Oct 20, 2014
  1. Merge pull request #27 from daniel-pittman/patch-1

    Ignore .travis.yml files
Commits on Oct 8, 2014
  1. @daniel-pittman

    Ignore .travis.yml files

    daniel-pittman committed
    Some projects that contain shell content also use the travis-ci service to test their coed.
    This ignores the .travis.yml file when considering if this directory contains dotfiles, or a directory to symlink.
Commits on May 16, 2014
  1. Merge pull request #25 from tylerdave/master

    Update URL in README and update filenames in .gitignore
  2. @tylerdave

    updating repo URL in README

    tylerdave committed
  3. @tylerdave
Commits on Oct 2, 2013
  1. Merge pull request #24 from onnodb/ghar-windows

    Ghar for Windows
  2. @onnodb
  3. @onnodb

    Add note about Windows support to README

    onnodb committed
    Let users know that ghar under Windows requires Administrator privileges.
  4. @onnodb

    Move 'symlinked folder unlink' fix into 'ghar_win'

    onnodb committed
    Let the "ghar_win" module monkeypatch the "os.unlink" function, so that
    "ghar" can just use its original code for removing symlinked folders;
    the new "os.unlink" version installed by "ghar_win" can then decide to
    call the right function on Windows.
  5. @onnodb

    Fix handling of symlinked directories on Windows

    onnodb committed
    Add various tweaks to ensure proper handling of symlinked directories on
  6. @onnodb

    Clean up code ""

    onnodb committed
  7. @onnodb

    Add "lstat" replacement to "ghar_win"

    onnodb committed
    The ghar main module uses "os.lstat()" to figure out whether a directory
    entry is a directory, file or symlink. Implement a ghar-specific
    substitute for "lstat" that can detect symlinks.
Commits on Sep 24, 2013
  1. Merge pull request #23 from elijahsummers/gharignore-readme

    Add brief gharignore documentation.
  2. @elijahsummers
Commits on Sep 16, 2013
  1. @onnodb

    Add module with Windows symlink functions

    onnodb committed
    Add module "ghar_win", containing Windows implementations of the
    symlink-related functions of Python's "os" module.
Commits on Jun 28, 2013
  1. feat(README): make it a markdown file

    bring this project into 2013 with a nice looking markdown file
  2. Merge remote-tracking branch 'tornewuff/fix-folder-links'

  3. Merge remote-tracking branch 'featheredtoast/python3-backwards-compat…

  4. fix(bin/ghar): add more helpful error for symlink fail

    include the filename if we can't link.
    Cleaned up version of #15 from @jacobian. Thanks.
  5. Merge pull request #14 from jacobian/gharignore

    Added support for ".gharignore".
Commits on Jun 25, 2013
  1. @mlb- @featheredtoast

    Explicitly check for default sub-function.

    mlb- committed with featheredtoast
    Python2's argparse, when setup to use sub-parsers, will complain when no
    arguments are given. In Python3, argparse will not complain when given no
    arguments and just return an empty Namespace.
  2. @mlb- @featheredtoast
  3. @featheredtoast
Commits on Jun 18, 2013
  1. @tornewuff

    "Fix" directly linked folders.

    tornewuff committed
    Don't try to make the basename of a link relative if the link is not a
    collection, as the result is always the path ".". This was broken by #7.
    This isn't an ideal fix as it doesn't handle the case where the target
    already exists; it would be nice for it to merge recursively the way it
    does for collections, but it's better than it failing entirely.
Commits on Jun 11, 2013
  1. @tornewuff

    Also fix path discovery for symlinks.

    tornewuff committed
    Use realpath instead of abspath so that ghar can find its directory even
    if "ghar" is a symlink to the script, as well as the case where it's
    invoked with a relative path. Also reformat line in accordance with
Commits on May 20, 2013
  1. @jacobian

    Added support for ".gharignore".

    jacobian committed
    This file lists, one per line, fnmatch-style patterns (e.g. "README.*",
    "*.txt, etc.") to ignore when creating symlinks.
    This has to be a separate file and not just .gitignore because .gitignore
    means that those files won't be committed and sent to upstreams. That's
    OK for stuff you want to keep private, but not OK for stuff like LICENSE
    and README files that you'd like to share.
    For example, see
Commits on Apr 28, 2013
  1. Fix issue with getting ghar_dir when sys.argv[0] is a relative path.

    aff0 committed
    Fix issue when ghar invoked with relative path ('bin/ghar' or 'ghar/bin/ghar')
    or when 'ghar' invoked in ghar/ dir and relative path 'bin' is in the PATH
    (e.g. when using Boxen).
    Credit goes to github users @Flaeme and @danny316p for the fix.
Commits on Mar 17, 2013
  1. Merge pull request #10 from githubaff0/fix-link-subcommand-ignores-re…

    Fix bug where link_subcommand ignored repo arguments
Something went wrong with that request. Please try again.