git-annex/Assistant
Joey Hess 8be5a7269a
refactor getCurrentBranch
Both Command.Sync and Annex.Ingest had their own versions of this.

The one in Annex.Ingest used Git.Branch.currentUnsafe, but does not seem
to need it. That is only checking to see if it's in an adjusted unlocked
branch, and when in an adjusted branch, the branch does in fact exist,
so the added check that Git.Branch.current does is fine.

This commit was sponsored by Denis Dzyubenko on Patreon.
2018-10-19 17:29:18 -04:00
..
Alert avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
Install avoid warnings about not exported System.Directory.isSymbolicLink 2016-04-28 15:18:11 -04:00
Pairing change Remote.repo to Remote.getRepo 2018-06-04 15:30:26 -04:00
Threads refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
Types first pass at assistant knowing about export remotes 2017-09-20 13:58:27 -04:00
WebApp refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
Alert.hs fix tricky warning with ghc 8 2016-11-15 18:51:07 -04:00
BranchChange.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Changes.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Commits.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
Common.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
CredPairCache.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
DaemonStatus.hs change Remote.repo to Remote.getRepo 2018-06-04 15:30:26 -04:00
DeleteRemote.hs AssociatedFile newtype 2017-03-10 13:35:31 -04:00
Drop.hs add VerifiedCopy data type 2015-10-08 16:55:11 -04:00
Fsck.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
Gpg.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
Install.hs removed the old Android app 2018-10-13 01:41:11 -04:00
MakeRemote.hs Improve startup time for commands that do not operate on remotes 2018-01-09 16:22:07 -04:00
Monad.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
NamedThread.hs avoid insertWith' depreaction warning 2018-04-22 13:28:31 -04:00
Pairing.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Pushes.hs add exporter thread to assistant 2017-09-20 15:29:13 -04:00
RemoteControl.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Repair.hs Relicense 5 source files that are not part of the webapp from AGPL to GPL. 2016-11-21 23:46:59 -04:00
RepoProblem.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Restart.hs better HTTP connection reuse 2018-04-04 15:39:40 -04:00
ScanRemotes.hs update my email address and homepage url 2015-01-21 12:50:09 -04:00
Ssh.hs removed the old Android app 2018-10-13 01:41:11 -04:00
Sync.hs refactor getCurrentBranch 2018-10-19 17:29:18 -04:00
TransferQueue.hs cache remotes via annex-speculate-present 2018-08-01 14:28:05 -04:00
TransferrerPool.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
TransferSlots.hs change Remote.repo to Remote.getRepo 2018-06-04 15:30:26 -04:00
Unused.hs remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
Upgrade.hs clean up url removal presence update 2018-10-04 17:35:49 -04:00
WebApp.hs unified AuthToken type between webapp and tor 2016-11-22 14:18:34 -04:00