PowerShell / PowerShell/Win32-OpenSSH

ssh-agent present in .gitignore

Open
#2,258 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Build Waiting on Author
Dominant language
No language data
Stars
8.3k
Forks
819
PR merge metrics
No merged PRs in 30d

Description

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

.gitignore contains ssh-agent in line 28, which ignores contrib/win32/win32compat/ssh-agent/. That folder is included in the repository, and necessary to build ssh-agent.vcxproj. Was this intended?

Expected behavior
All projects are built correctly.
Actual behavior
When pushing the repository to a different remote, `contrib/win32/win32compat/ssh-agent/` is ignored. Building the solution after cloning from such remote results in several C1083 errors, for example:
`C1083 Cannot open source file: '(...)\contrib\win32\win32compat\ssh-agent\agent-main.c': No such file or directory`
Error details

No response

Environment data
N/A
Version

latestw_all

Visuals

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting line 28 of .gitignore and the tracked files under contrib/win32/win32compat/ssh-agent/. Confirm how the ignore entry affects ssh-agent.vcxproj, then verify that cloning to another remote and building the solution no longer produces the reported C1083 missing-source errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.