Commit Graph

1023 Commits

Author SHA1 Message Date
rick olson
cdc7946740 replace Readdirnames() with FastWalkGitRepo() 2017-10-25 09:31:50 -06:00
rick olson
737850e5ad fs: create logdir 2017-10-24 16:21:15 -06:00
rick olson
343520ad7d test: remove config.Config global 2017-10-24 13:44:34 -06:00
rick olson
b3f0dacdc8 lfs: remove static lfs pointer clean/smudge funcs 2017-10-24 12:07:53 -06:00
rick olson
97fc2ed06b remove reliance on global config filesystem vars 2017-10-18 18:09:33 -06:00
risk danger olson
cc3afc8225 Merge branch 'master' into checkout-no-clean 2017-10-18 15:18:11 -07:00
rick olson
03d4139b6c update test for new exit code 2017-10-17 10:41:51 -06:00
rick olson
2450de955d lfs: teach 'install' to upgrade --skip commands 2017-10-17 10:07:26 -06:00
Brendan Forster
2f8c9f801e add failing test 2017-10-10 15:33:23 +11:00
rick olson
e0eede1602 test: uncomment status assertion 2017-10-05 16:24:22 -06:00
rick olson
caaa0f91fa assert clean 'git status' after lfs pull/clone 2017-10-04 10:27:05 -06:00
risk danger olson
1ba0d3c051 Merge branch 'master' into fix-unlock-by-id 2017-10-03 10:33:31 -07:00
rick olson
c463dca4e6 ensure files are marked readonly after unlocking by ID 2017-10-03 11:12:26 -06:00
rick olson
7158e3bb63 add files to index with path relative to current dir 2017-10-03 10:48:18 -06:00
rick olson
0456bc8cbe only use askpass if credential.helper is not configured 2017-10-02 11:57:07 -06:00
rick olson
8e9fbf4e94 don't replace pointers with objects if clean filter is not configured 2017-09-27 17:11:42 -06:00
rick olson
da28c70c14 commands: convert backslash to slash when writing to .gitattributes 2017-09-27 16:14:09 -06:00
rick olson
90606dc30c be explicit about what is being pushed 2017-09-26 16:49:13 -06:00
rick olson
e53e34e3ce skip SSH_ASKPASS test in travis 2017-09-26 11:26:57 -06:00
risk danger olson
ff8a65399d Merge branch 'master' into ssh-askpass 2017-09-26 10:02:00 -07:00
risk danger olson
1498f83394 Merge branch 'master' into fix-progress 2017-09-26 08:43:45 -07:00
risk danger olson
fe6f07ddc6 Merge branch 'master' into ssh-askpass 2017-09-22 15:54:21 -07:00
risk danger olson
1df110423c Merge branch 'master' into pr/standalone-urlmatch 2017-09-22 15:35:02 -07:00
rick olson
ec246ff223 add support for SSH_ASKPASS 2017-09-22 11:45:10 -06:00
rick olson
2f4315e354 remove unnecessary StartTransfer() since transfer queue calls it 2017-09-22 11:29:22 -06:00
rick olson
e8325a9098 accumulate pointers for checkout to get accurate total count 2017-09-22 11:27:09 -06:00
rick olson
f9f11aac8a trim whitespace from GIT_ASKPASS provided passwords 2017-09-22 10:32:06 -06:00
Steffen Prohaska
49cb579583
Support standalonetransferagent based on API URL prefix match
PR-2429 has implemented a mechanism to unconditionally specify
standalone custom transfer agents.

This commit extends the mechanism to specify custom transfer agents
based on an URL prefix match on the API URL.

Together with the previous commit, which added the Git remote to the
custom transfer stage 1 initiation message, standalone custom transfer
can now be configured per remote.  One remote can, for example, use
Rsync transfer to an SSH server.  Another remote can use standard LFS to
GitHub.  Example Git config:

```
remote.github.url=...
remote.origin.url=ssh://gitssh.example.com/git/some/repo
lfs.customtransfer.rsync.path=git-lfs-rsync-agent
lfs.https://gitssh.example.com/git/.standalonetransferagent=rsync
```

The config assumes that `git-lfs-rsync-agent` determines the remote from
the stage 1 init message and then inspecting `remote.origin.url` to
infer the rsync host.  <https://github.com/aleb/git-lfs-rsync-agent>,
2017-09-17, does not yet do that.

[PR-2429] 09b7c5381bc3fa4ba7ca3564681a5ae5b7e6f3dc 'Allow using custom transfer agents directly', <https://github.com/git-lfs/git-lfs/pull/2429>.

CC: Alexandru Băluț <ab@daedalean.ai>
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
2017-09-20 15:04:25 +02:00
Brendan Forster
d36f937404 actually the test should pass here 2017-09-20 08:36:47 +10:00
Brendan Forster
ef77205162 add failing tests 2017-09-20 08:31:49 +10:00
Taylor Blau
df76acf33b commands: allow $GIT_LFS_TRACK_NO_INSTALL_HOOKS to disable hook installation 2017-09-14 12:45:46 -04:00
Taylor Blau
df8469163e lfsapi: invoke core.askpass for username and password 2017-09-13 18:11:04 -04:00
Taylor Blau
08548aeadb test: update test/test-askpass.sh to use lfs-askpass binary 2017-09-13 18:11:04 -04:00
Taylor Blau
bb6cf0b381 test/cmd: add lfs-askpass test binary 2017-09-13 18:11:04 -04:00
Taylor Blau
debd5ca465 test/test-migrate-info: add test with nested sub-trees and no filter 2017-09-13 17:11:40 -04:00
Taylor Blau
295463b790 test/test-migrate-import: add test with nested sub-trees and no filter 2017-09-13 17:11:25 -04:00
rick olson
a8dbbad581 grep for windows message too 2017-09-12 09:16:18 -06:00
rick olson
8c0c154139 update test that depended on lfs.allowincompletepush=false 2017-09-12 09:04:49 -06:00
rick olson
dbeb4b1a9f turn lfs.allowincompletepush on by default 2017-09-12 08:33:52 -06:00
rick olson
2a8848aa6f failing tests 2017-09-12 08:19:36 -06:00
Taylor Blau
bec5f340e4 Merge pull request #2558 from git-lfs/migrate-everything
commands: teach '--everything' to 'git lfs migrate'
2017-09-07 16:38:10 -04:00
Taylor Blau
f3a4a3c0ab Merge pull request #2514 from git-lfs/lock-respect-set-read-only
locking: read SetLockableFilesReadOnly from OS/Git config
2017-09-07 16:37:43 -04:00
Taylor Blau
c8c29f53a5 commands: teach '--everything' to 'git lfs migrate' 2017-09-07 13:47:17 -04:00
Taylor Blau
0a8d29d0d9 Merge pull request #2540 from git-lfs/lars/debug
commands: teach 'git lfs ls-files' a '--debug' option
2017-08-30 22:02:26 -04:00
Lars Schneider
1565e631e8 commands: teach 'git lfs ls-files' a '--debug' option
There was no way to conveniently display LFS pointer file properties for
debugging. Teach 'git lfs ls-files' a '--debug' option that prints all
available information following the 'git ls-files' interface [1].

[1] 8497421715
2017-08-30 22:43:17 +01:00
Taylor Blau
cdd0cb70a4 Merge pull request #2528 from git-lfs/git-expand-attrs-check
git: expand 'GetAttributePaths' check to include non-LFS lockables
2017-08-30 12:57:13 -04:00
Taylor Blau
0eed0c65c1 Merge branch 'master' into lock-respect-set-read-only 2017-08-30 12:54:26 -04:00
Taylor Blau
d5e8c03d72 test: suppress output from popd 2017-08-29 10:06:38 -04:00
Taylor Blau
46e248b145 test: clone from correct remote directory 2017-08-29 10:06:30 -04:00
Taylor Blau
6429de01d3 test: correct VERSION_LOWER typo 2017-08-29 10:03:58 -04:00