gitcfg: move constants to the top

Signed-off-by: David Aguilar <davvid@gmail.com>
app: provide context.cfg

Provide a gitcfg instance so that the merge view can use it.

Signed-off-by: David Aguilar <davvid@gmail.com>
merge: simplify widget construction

Signed-off-by: David Aguilar <davvid@gmail.com>
commit: add support for signed commits

Add a `sign` flag to the Commit command.

Add a "Create Signed Commit" checkbox to the commit message editor so
that signed commits can be toggled on/off.

Default the checkbox to:

	git config --bool cola.signcommits

This allows us to enable this feature by default by setting:

	git config cola.signcommits true

Closes #149

Suggested-by: Justin Lecher <jlec@gentoo.org>
Cheered-on-by: Micha Rosenbaum <micha@rosetree.de>
Signed-off-by: David Aguilar <davvid@gmail.com>
merge: add support for signed commits

Add a `sign` flag to the Merge command.

Add a "Create Signed Commit" checkbox to the merge dialog so
that signed commits can be toggled on/off.

Default the checkbox to:

	git config --bool cola.signcommits

This allows us to enable this feature by default by setting:

	git config cola.signcommits true

Closes #149

Suggested-by: Justin Lecher <jlec@gentoo.org>
Cheered-on-by: Micha Rosenbaum <micha@rosetree.de>
Signed-off-by: David Aguilar <davvid@gmail.com>
* sign-commits:
  merge: add support for signed commits
  commit: add support for signed commits
  merge: simplify widget construction
  app: provide context.cfg
  gitcfg: move constants to the top