File: guilt.txt

package info (click to toggle)
guilt 0.35-1.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,492 kB
  • sloc: sh: 2,557; makefile: 119; perl: 42
file content (69 lines) | stat: -rw-r--r-- 2,248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
guilt(7)
========

NAME
----
guilt - quilt on top of git

SYNOPSIS
--------
'guilt' COMMAND [ARGS]

DESCRIPTION
-----------

Andrew Morton originally developed a set of scripts for maintaining kernel
patches outside of any SCM tool. Others extended these into a suite called
quilt. The basic idea behind quilt is to maintain patches instead of
maintaining source files. Patches can be added, removed or reordered, and
they can be refreshed as you fix bugs or update to a new base revision.
quilt is very powerful, but it is not integrated with the underlying SCM
tools. This makes it difficult to visualize your changes.

Guilt allows one to use quilt functionality on top of a Git repository.
Changes are maintained as patches which are committed into Git.  Commits can
be removed or reordered, and the underlying patch can be refreshed based on
changes made in the working directory. The patch directory can also be
placed under revision control, so you can have a separate history of changes
made to your patches.

PATCHES DIRECTORY
-----------------

In Guilt, all the patches are stored in .git/patches/$branch/, where $branch
is the name of the branch being worked on. This means that one can have a
independent series of patches for each branch present in the repository.
Each of these per-branch directories contains 3 special files:

guards: This file contains any guards that should be applied to the
series when pushing. It is only present when guards are selected.

series: This file contains a list of all the patch filenames relative to the
per-branch patch directory. Empty and commented out lines are ignored.

status: This file contains the state of the stack. What patches are applied.

HOOKS
-----
Any guilt operation may execute zero or more hook scripts which can be used
to run any housekeeping commands or even abort the execution of the command.

include::hooks.txt[]

GUILT COMMANDS
--------------
All commands can be called with or without a dash. e.g. 'guilt add' or
'guilt-add'

include::cmds.txt[]

Author
------
Written by Josef "Jeff" Sipek <jeffpc@josefsipek.net>

Documentation
--------------
Documentation by Brandon Philips <brandon@ifup.org> and Josef "Jeff" Sipek
<jeffpc@josefsipek.net>

include::footer.txt[]