sync: Added -g as a short option for --no-content
I anticipate that if sync is transitioned to syncing content by default, people will want a short option. And in repositories where annex.synccontent = true, they already would. And pull and push sync content by default, so a short option is useful with them too. Mnemonic: -g makes only git data be synced Also, -a makes only annex data be synced. Would have preferred -c, which would complement -C, but it was already taken to set git configs. Sponsored-by: Noam Kremen on Patreon
This commit is contained in:
parent
5df89d58c7
commit
40731ff9fd
5 changed files with 11 additions and 6 deletions
|
@ -181,6 +181,7 @@ optParser mode desc = SyncOptions
|
|||
)
|
||||
<*> switch
|
||||
( long "no-content"
|
||||
<> short 'g'
|
||||
<> help "do not transfer annexed file contents"
|
||||
)
|
||||
<*> many (strOption
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue