Skip to content
  1. Jun 09, 2013
  2. Jun 08, 2013
  3. May 27, 2013
  4. May 20, 2013
  5. May 12, 2013
  6. May 11, 2013
  7. May 10, 2013
  8. May 09, 2013
  9. May 07, 2013
  10. May 06, 2013
  11. May 03, 2013
  12. May 01, 2013
  13. Apr 28, 2013
  14. Apr 27, 2013
  15. Apr 25, 2013
  16. Apr 23, 2013
    • Richard Hartmann's avatar
      Merge pull request #43 from madduck/anchor-ignores · 0871cffd
      Richard Hartmann authored
      Anchor ignore lines
      0871cffd
    • martin f. krafft's avatar
      Anchor ignore lines · caeaa986
      martin f. krafft authored
      
      
      The lines written to the gitignore file by write-gitignore were not
      anchored. This means that a line like
      
        !.zsh
      
      might cause not only ~/.zsh to be ignored, but also ~/TODO/.zsh, which
      is potentially a problem.
      
      This patch simply prepends a '/' to each entry in the gitignore file,
      thereby anchoring the entry to the repository root.
      
      Note that the initial '*' must not be anchored, else files in
      subdirectories wouldn't be ignored.
      
      Signed-off-by: default avatarmartin f. krafft <madduck@madduck.net>
      caeaa986
Loading