restage: New git-annex command, handles restaging unlocked files
This is much easier and less failure-prone than having the user run git update-index --refresh themselves. Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
f7146c153b
commit
2478e9e03a
10 changed files with 110 additions and 6 deletions
|
@ -316,7 +316,7 @@ unableToRestage mf = unwords
|
|||
, "This is only a cosmetic problem affecting git status; git add,"
|
||||
, "git commit, etc won't be affected."
|
||||
, "To fix the git status display, you can run:"
|
||||
, "git update-index -q --refresh " ++ fromMaybe "<file>" mf
|
||||
, "git-annex restage"
|
||||
]
|
||||
|
||||
{- Parses a symlink target or a pointer file to a Key.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue