Linux Netfilter development
 help / color / mirror / Atom feed
* Fail to clone iptables,ipset,nftables
@ 2025-04-25  5:30 Sunny73Cr
  2025-04-25  6:22 ` Florian Westphal
  0 siblings, 1 reply; 5+ messages in thread
From: Sunny73Cr @ 2025-04-25  5:30 UTC (permalink / raw)
  To: netfilter-devel@vger.kernel.org

Hi,

I have run the following command in 'Git Bash' under MINGW64 Windows 11:
`git clone git://git.netfilter.org/nftables 'C:/local/path'`

Output is:
Cloning into 'C:/local/path'...
remote: Enumerating objects: 32813, done.
remote: Counting objects: 100% (32813/32813), done.
remote: Compressing objects: 100% (8468/8468), done.
remote: Total 32813 (delta 26246), reused 30199 (delta 24215), pack-reused 0
Receiving objects: 100% (32813/32813), 5.34 MiB | 2.08 MiB/s, done.
Resolving deltas: 100% (26246/26246), done.
error: invalid path 'src/json.'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

I then tried:
`cd 'C:/local/path'`
`git restore --source=HEAD :/`

Output is:
error: invalid path 'src/json.'

I can see '/src/json.' in https://git.netfilter.org/nftables/tree/src?h=master

Is there a way to force this clone in this Windows/MINGW64/Git Bash environment; or should I retry on a *NIX system?

sunny

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-28 10:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  5:30 Fail to clone iptables,ipset,nftables Sunny73Cr
2025-04-25  6:22 ` Florian Westphal
2025-04-25  7:46   ` Trailing dot in Cygwin filenames [was: failed to clone iptables,ipset,nftables] Jan Engelhardt
2025-04-28  9:38     ` [oss-security] " Werner Koch
2025-04-25 11:17   ` Fail to clone iptables,ipset,nftables Sunny73Cr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox