G-Node / G-Node/gin-cli

feature request: `gin commit --lock`

Open
#317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
14
Forks
7
PR merge metrics
No merged PRs in 30d

Description

To add a new file to a repository in a locked state currently 3 steps are required as files can only be locked after being committed

- `gin commit `
- `gin lock `
- `gin commit `

This is inconvenient and created unnecessary commits. From the git-annex perspective it is possible (and the default behaviour) that files are locked when added to the staging area. This way only a single commit would be required to commit a file in a locked state. Would it be possible to add a `--lock` flag to `gin commit`that automatically locks the committed files to simplify this procedure?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.