Skip to content

Commit failed text can no longer be copied #21696

Closed

Description

@parnell

The problem

Prior to 3.5.5 when doing a commit through Github Desktop, if a commit failed due to pre-commit, or other reasons, you could select the text and copy the error. Now while the text is selectable in the "Commit Failed" screen copying the text doesn't work.

Release version

Version 3.5.5 (arm64)

Operating system

macOS Tahoe (Version 26.3 (25D125))

Steps to reproduce the behavior

  1. Make any change to a file
  2. Fail the commit (through pre-commit or other paths)
  3. Try to copy the text in the commit failed message.

Log files

2026-02-26T15:50:05.745Z - error: [ui] git commit -F - exited with an unexpected code: 1.
ruff.....................................................................Passed
ruff-format..............................................................Passed
Check for direct strftime usage..........................................Failed

  • hook id: flake8-strftime-check
  • exit code: 1

xxxxxx.py:409:25: SCF001 Direct use of strftime() detected. Use format_datetime_for_user() or format_date_for_user() from timezone_context instead.

Terraform fmt (iac)..................................(no files to check)Skipped

2026-02-26T15:50:05.745Z - info: [ui] [Timing] Action 'create commit' for 'xxxx/xxxx' took 0.582s

Screenshots

Image

Additional context

No response

Activity

  1. sebekz commented on Mar 2, 2026

    @sebekz

    Windows exhibits the same issue - hook-related test errors prevent users from copying log output, hindering the debugging process.

  2. added
    bug
    priority-3
    and removed on Mar 4, 2026
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

    bugpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions