com.github.sbt.git

Members list

Type members

Classlikes

class ConsoleGitReadableOnly(git: GitRunner, cwd: File, log: Logger) extends GitReadonlyInterface

Attributes

Supertypes
class Object
trait Matchable
class Any
object ConsoleGitRunner extends GitRunner

A mechanism of running git that simply shells out to the console.

A mechanism of running git that simply shells out to the console.

Attributes

Supertypes
trait GitRunner
class Object
trait Matchable
class Any
Self type
final class DefaultReadableGit(base: File, gitOverride: Option[GitReadonlyInterface]) extends ReadableGit

Our default readable git uses JGit instead of a process-forking and reading, for speed/safety. However, we allow overriding, since JGit doesn't currently work with git worktrees

Our default readable git uses JGit instead of a process-forking and reading, for speed/safety. However, we allow overriding, since JGit doesn't currently work with git worktrees

Attributes

Supertypes
trait ReadableGit
class Object
trait Matchable
class Any
object GitBranchPrompt extends AutoPlugin

Adapter to enable the git prompt. i.e. rich prompt based on git info.

Adapter to enable the git prompt. i.e. rich prompt based on git info.

Attributes

Supertypes
class AutoPlugin
trait PluginsFunctions
class Basic
trait Plugins
class Object
trait Matchable
class Any
Show all
Self type
object GitPlugin extends AutoPlugin

The autoplugin which adapts the old sbt plugin classes into a legitimate AutoPlugin.

The autoplugin which adapts the old sbt plugin classes into a legitimate AutoPlugin.

This will add the ability to call git directly in the sbt shell via a command, as well as add the infrastructure to read git properties.

We keep the old SbtGit object around in an attempt not to break projects which depend on the old plugin directly.

Attributes

Supertypes
class AutoPlugin
trait PluginsFunctions
class Basic
trait Plugins
class Object
trait Matchable
class Any
Show all
Self type
GitPlugin.type

The read-only interface to a git repository, used to define settings.

The read-only interface to a git repository, used to define settings.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait GitRunner

An interface to run git commands.

An interface to run git commands.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object GitVersioning extends AutoPlugin

Adapter to auto-enable git versioning. i.e. the sbt 0.13.5+ mechanism of turning it on.

Adapter to auto-enable git versioning. i.e. the sbt 0.13.5+ mechanism of turning it on.

Attributes

Supertypes
class AutoPlugin
trait PluginsFunctions
class Basic
trait Plugins
class Object
trait Matchable
class Any
Show all
Self type
final class JGit(val repo: Repository) extends GitReadonlyInterface

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object JGit

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
JGit.type
object JGitRunner extends GitRunner

A mechanism to run GIT using the pure java JGit implementation.

A mechanism to run GIT using the pure java JGit implementation.

Attributes

Supertypes
trait GitRunner
class Object
trait Matchable
class Any
Self type
JGitRunner.type
object NullLogger extends BasicLogger

Attributes

Supertypes
class BasicLogger
class AbstractLogger
class Logger
trait Logger
class Object
trait Matchable
class Any
Show all
Self type
NullLogger.type
trait ReadableGit

An interface for interacting with git in a read-only manner.

An interface for interacting with git in a read-only manner.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SbtGit

This plugin has all the basic 'git' functionality for other plugins.

This plugin has all the basic 'git' functionality for other plugins.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SbtGit.type