Sandy Pleyte
3e161e8ea9
Updated the regexp and added an other test case for sub dirs
2014-02-28 16:30:55 +01:00
Sandy Pleyte
1d51e54a31
Updated the regexp and added more test cases.
2014-02-28 11:43:28 +01:00
Sandy Pleyte
21109ada22
Fix for #2739 (and #1755 ), added support for directory excludes in the .gitignore file like /directory or directory/
2014-02-27 15:17:15 +01:00
Jordi Boggiano
3aa7843146
Use ExecutableFinder instead of relying on exit codes, refs #1829
2013-04-26 11:02:53 +02:00
Rob Loach
692c63cdd2
Fix for tests when Mercurial or git are not available
2013-04-25 14:57:58 -04:00
Nils Adermann
57c34033ff
Merge pull request #1754 from njam/issue-1754
...
Fix file pattern start matching if no slash
2013-04-03 05:45:50 -07:00
Jordi Boggiano
fc54a48b52
Fix archiver tests on windows
2013-04-02 11:32:11 +02:00
Reto Kaiser
6f72e9570c
Add a / to the beginning of a file matchin pattern if no / in rule.
...
See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
2013-04-01 23:04:00 +02:00
Reto Kaiser
918a55659e
Call realpath() on result of sys_get_temp_dir()
...
On OSX the temp dir is within /var, which is a symlink to /private/var.
If this is not resolved, the comparison will fail when comparing to the result of `git archive` in testGitExcludes().
2013-04-01 21:37:47 +02:00
Nils Adermann
6066359944
Skip directories in zip generation, empty dirs won't get archived
...
This seems ok as we currently rely on git generating archives which does
not archive empty directories either.
2013-03-28 12:49:53 +01:00
Nils Adermann
deae50392f
Respect gitignore, gitattributes and hgignore files in archiving
2013-03-28 12:49:53 +01:00