Skip to content

credential output hidden while transferring files #847

Closed

Description

@technoweenie

When Git LFS is uploading or downloading a batch of files, it shows some progress output. It hides any other output from the command, like git-credentials asking for your username and password. Here's what I see (scroll to the right to see the username prompt).

Git LFS: (1 of 4 files) 16.64 KB / 818.94 KB                                                                                                                                                                                                                                                                                                                               Username for 'https://github-cloud.s3.amazonaws.com':
Git LFS: (1 of 4 files) 101.27 KB / 818.94 KB

If you can't see the prompt, then git lfs appears to hang for no apparent reason. The only fix is to setup a credential cacher right now.

Activity

  1. gregbillock commented on Jan 6, 2017

    @gregbillock

    Could this be the problem I'm having? I'm pushing quite a few large files, but git-lfs hangs after a few (e.g 6-8 usually). I've run with trace and see nothing diagnostic. I've set the credential helper to an hour and the hang takes nowhere near that long to happen -- maybe a few minutes.

    platform=mac, env is
    git-lfs/1.5.4 (GitHub; darwin amd64; go 1.7.4; git 71b637f)
    git version 2.10.0

    I'm experimenting with higher concurrent transfers on the theory each thread hangs independently so I can get more usable transfer before the hang.

  2. added this to the v2.0.0 milestone on Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions