vcsgui-0.1.3.0: GUI library for source code management systems

Safe HaskellNone
LanguageHaskell98

VCSGui.Git

Description

Exports all modules needed to build the Git GUI component.

Synopsis

Documentation

showCommitGUI :: Ctx () Source

Calls showCommitGUI with a ListStore and OkCallBack setup for Git. This will display a window to enter a commit message and select the files to be commited by this commit.

showLogGUI :: Ctx () Source

Calls showLogGUI using Git. This will display all log entries. The branch to be displayed can be selected. Any commit can be checked out, creating a new branch if the commit is not already the HEAD of any branch.

askPassWrapper :: Ctx () -> Ctx () Source

Adds a wrapper to the Ctx so git can ask for a password using a GUI window. This is acomplished by setting the GIT_ASKPASS environment variable. This is only tested on linux and may not work on MS Windows.

pull :: Ctx () Source

Call pull. If the pull fails or a merge conflict is detected an error message is shown.