haskell / haskell/cabal

source-repository-package branch failure

Open
#6,888 29 comments 4 reactions 0 assignees View on GitHub
attention: pr-welcome cabal-install: source-repository-package can-workaround newcomer: 2-one-file-change type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

With:

```
source-repository-package
type: git
location: git://github.com/georgefst/pretty-simple.git
branch: experimental
```

at the top of my `cabal.project`, I get the failure `fatal: '--detach' cannot be used with '-b/-B/--orphan'`. Unclear what's causing this. It works fine with `master`.

`git` version is `2.7.4`, which is pretty old (can't upgrade right now on my work machine), so if that's the issue, I'll just work around it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.