Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #3542
Closed
Open
Issue created Mar 13, 2020 by Gene Pavlovsky@gene-pavlovsky

Commit many files not working with Cygwin hack enabled

I've updated to 2.10.0, and having troubles to commit many files at once

What steps will reproduce the problem?

  1. Open the commit dialog, add some files
  2. Select a large number of files
  3. Try to commit

What is the expected output? What do you see instead?

Error message is displayed: git.exe add -f [...]

/usr/bin/bash: -c: line 0: unexpected EOF while looking for matching `"' /usr/bin/bash: -c: line 1: syntax error: unexpected end of file

git did not exit cleanly (exit code 1)

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit was just updated to 2.10.0 OS is Windows 7, Build 7601 (SP1) Git is Cygwin Git, Cygwin hack is enabled in the settings - and I've been using this setup on this laptop, without issues, for a few years already

Please provide any additional information below.

This happens when using regular commit, or amend commit mode. The issue seems to be with the sheer number of files, not particular filenames. There are 403 files being added, total length of their path names relative to project's root is 15974 characters.

Workaround: in the end I was able to commit all of these files in several smaller commits.

Edited Mar 16, 2020 by Sven Strickroth
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking