Commit Graph

16 Commits

Author SHA1 Message Date
Rick Olson
f6d96803a3 update pre-push to be more explicit about the path 2015-08-14 09:59:16 -06:00
Rick Olson
87b557d75b teach the upgrade command how to update pre-push hooks 2015-08-13 17:12:17 -06:00
Steve Streeting
3920ef5757 Pre-push hook must exit with a non-zero result when git-lfs isn't on the path
Otherwise the branch push will go ahead and data will be incomplete on the server
2015-08-13 10:27:36 +01:00
Rick Olson
eb03c46f48 teach 'uninit' how to remove git config sections 2015-07-27 16:21:53 -06:00
risk danger olson
6eaa77c5aa only remove pre-push if it's a known git lfs pre-push hook 2015-07-10 10:53:06 -06:00
risk danger olson
bf2691c8d6 add an uninit command 2015-07-10 10:43:20 -06:00
Rick Olson
be801148c5 add init --force 2015-07-06 17:10:47 -06:00
risk danger olson
296dddf704 Merge pull request #377 from bozaro/more-fast-filter
Remove unnecessary exec the process by filter wrapper
2015-06-10 09:26:29 -06:00
Artem V. Navrotskiy
ee0c877ab9 Remove unnecessary exec the process by filter wrapper
This change improve git-lfs performance on Windows
2015-06-10 16:40:07 +03:00
rubyist
b363c569bd Make the pre-push hook check that git-lfs exists first
If git-lfs does not exist (e.g. it has been uninstalled) the pre-push
hook should still exit cleanly so the push can continue. The script will
output a warning stating that the repo has been set up for Git LFS but
that it is not installed.
2015-05-27 11:43:06 -04:00
Rick Olson
216623196a Use goimports instead of gofmt 2015-05-13 13:43:41 -06:00
Michael Käufl
8890a099b5 Checked for err != nil instead of == nil
I needed some extra time to understand what was happening.  In my
opinion, the control flow is easier to follow when checking for
err != nil, as this is the convention in go.
2015-05-13 01:43:46 +02:00
Michael Käufl
1b04957416 Removed else after return 2015-05-13 01:40:15 +02:00
Rick Olson
394d7dbd91 teach the update command how to update known git lfs hooks 2015-04-24 11:33:22 -06:00
Michael Haggerty
0dd0e17964 pre-push hook: properly quote args that are passed along
Properly quote the arguments that are passed to `git lfs push --stdin`
just in case they contain any shell metacharacters.
2015-04-15 08:57:50 +02:00
Rick Olson
e37b695477 rename hawser => git-lfs 2015-03-19 13:30:55 -06:00