guilt/ceder.git
15 years agoGuilt v0.25v0.25
Josef 'Jeff' Sipek [Tue, 15 May 2007 17:19:58 +0000 (15 13:19 -0400)]
Guilt v0.25

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoFixed $PAGER detection logic
Josef 'Jeff' Sipek [Tue, 15 May 2007 17:18:08 +0000 (15 13:18 -0400)]
Fixed $PAGER detection logic

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorebase: created a helper function to pop all patches
Josef 'Jeff' Sipek [Tue, 15 May 2007 17:02:29 +0000 (15 13:02 -0400)]
rebase: created a helper function to pop all patches

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorebase: comment out patch instead of removing it
Josef 'Jeff' Sipek [Tue, 15 May 2007 16:51:35 +0000 (15 12:51 -0400)]
rebase: comment out patch instead of removing it

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorebase: removed some leftover bits from git-cherry
Josef 'Jeff' Sipek [Tue, 15 May 2007 16:21:38 +0000 (15 12:21 -0400)]
rebase: removed some leftover bits from git-cherry

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agodocs: Skeleton of the rebase docs
Josef 'Jeff' Sipek [Tue, 15 May 2007 05:53:03 +0000 (15 01:53 -0400)]
docs: Skeleton of the rebase docs

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorebase: Rebase pushed patches against an upstream branch
Josef 'Jeff' Sipek [Tue, 15 May 2007 05:49:08 +0000 (15 01:49 -0400)]
rebase: Rebase pushed patches against an upstream branch

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agopatchbomb: Added --in-reply-to argument
Josef 'Jeff' Sipek [Sun, 6 May 2007 22:21:30 +0000 (6 18:21 -0400)]
patchbomb: Added --in-reply-to argument

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoguilt: be more careful when parsing hash ranges
Josef 'Jeff' Sipek [Sun, 6 May 2007 22:18:41 +0000 (6 18:18 -0400)]
guilt: be more careful when parsing hash ranges

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agonew: Add an empty line after the message/signed-off-by
Josef 'Jeff' Sipek [Sat, 5 May 2007 23:27:13 +0000 (5 19:27 -0400)]
new: Add an empty line after the message/signed-off-by

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoimport: Added -P to specify a name of the patch file within guilt
Josef 'Jeff' Sipek [Thu, 26 Apr 2007 22:57:00 +0000 (26 18:57 -0400)]
import: Added -P to specify a name of the patch file within guilt

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoimport: import a patch command
Josef 'Jeff' Sipek [Thu, 26 Apr 2007 22:27:55 +0000 (26 18:27 -0400)]
import: import a patch command

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Fixed two small typos
Josef 'Jeff' Sipek [Mon, 23 Apr 2007 23:41:28 +0000 (23 19:41 -0400)]
Docs: Fixed two small typos

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.24v0.24
Josef 'Jeff' Sipek [Tue, 17 Apr 2007 17:46:45 +0000 (17 13:46 -0400)]
Guilt v0.24

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agopop: Added -f to force popping of the patch
Josef 'Jeff' Sipek [Mon, 9 Apr 2007 13:55:38 +0000 (9 09:55 -0400)]
pop: Added -f to force popping of the patch

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Fixed up description of series -v
Josef 'Jeff' Sipek [Mon, 9 Apr 2007 13:37:28 +0000 (9 09:37 -0400)]
Docs: Fixed up description of series -v

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agostatus: change into the top of the repo before checking for changes
Josef 'Jeff' Sipek [Thu, 5 Apr 2007 21:10:58 +0000 (5 17:10 -0400)]
status: change into the top of the repo before checking for changes

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agostatus: Added -n to hide status prefix from ouput
Josef 'Jeff' Sipek [Thu, 5 Apr 2007 21:03:51 +0000 (5 17:03 -0400)]
status: Added -n to hide status prefix from ouput

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Document all options for status
Josef 'Jeff' Sipek [Thu, 5 Apr 2007 21:01:28 +0000 (5 17:01 -0400)]
Docs: Document all options for status

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agostatus: Major cleanup of status
Josef 'Jeff' Sipek [Thu, 5 Apr 2007 20:54:27 +0000 (5 16:54 -0400)]
status: Major cleanup of status

Now accepts flags to specify which type of changes should be displayed

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] guilt: Add -h option to show man pages
Eric Lesh [Thu, 29 Mar 2007 15:21:29 +0000 (29 11:21 -0400)]
[PATCH] guilt: Add -h option to show man pages

git-sh-setup steals the -h|--h* argument and prints the usage message
of the command that calls it, which in this case is guilt.  Rather than
print the unhelpful guilt usage message, call guilt-help on the given
command instead.

[jsipek: Move the -h|--h* check up a little]
[jsipek: no need for dirname as guilt-help should be in the path]
Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Documentation/guilt-fork: document argument to choose name of new patch
Eric Lesh [Wed, 28 Mar 2007 03:36:27 +0000 (27 20:36 -0700)]
[PATCH] Documentation/guilt-fork: document argument to choose name of new patch

Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] guilt-fork: Use first argument (if given) as name of new patch
Eric Lesh [Wed, 28 Mar 2007 03:28:34 +0000 (27 20:28 -0700)]
[PATCH] guilt-fork: Use first argument (if given) as name of new patch

Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] guilt-fork: Rename patches sequentially (ala quilt)
Eric Lesh [Wed, 28 Mar 2007 03:18:10 +0000 (27 20:18 -0700)]
[PATCH] guilt-fork: Rename patches sequentially (ala quilt)

Signed-off-by: Eric Lesh <eclesh@ucla.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.23v0.23
Josef 'Jeff' Sipek [Tue, 20 Mar 2007 23:57:32 +0000 (20 19:57 -0400)]
Guilt v0.23

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agofork: fork the topmost applied patch
Josef 'Jeff' Sipek [Tue, 20 Mar 2007 01:09:17 +0000 (19 21:09 -0400)]
fork: fork the topmost applied patch

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agonew: escape new patch name properly when changing the series file
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 20:11:24 +0000 (18 16:11 -0400)]
new: escape new patch name properly when changing the series file

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: guilt-fold manpage
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 06:40:49 +0000 (18 02:40 -0400)]
Docs: guilt-fold manpage

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agofold: fixed patch backup creation
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 06:36:14 +0000 (18 02:36 -0400)]
fold: fixed patch backup creation

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agodelete: use series_remove_patch instead of opencoding the logic
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 06:23:06 +0000 (18 02:23 -0400)]
delete: use series_remove_patch instead of opencoding the logic

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agofold: fold a patch into the topmost patch
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 06:22:23 +0000 (18 02:22 -0400)]
fold: fold a patch into the topmost patch

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoRemove pop_patch as there are no real users
Josef 'Jeff' Sipek [Sun, 18 Mar 2007 06:03:32 +0000 (18 02:03 -0400)]
Remove pop_patch as there are no real users

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Include version Guilt version number in page footer
Josef 'Jeff' Sipek [Thu, 15 Mar 2007 19:10:34 +0000 (15 15:10 -0400)]
Docs: Include version Guilt version number in page footer

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Fixed up patchbomb documentation
Josef 'Jeff' Sipek [Tue, 13 Mar 2007 03:02:34 +0000 (12 23:02 -0400)]
Docs: Fixed up patchbomb documentation

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Added import-commit manpage
Josef 'Jeff' Sipek [Tue, 13 Mar 2007 02:58:28 +0000 (12 22:58 -0400)]
Docs: Added import-commit manpage

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Reimplemented cmd-list generation script in sh
Josef 'Jeff' Sipek [Mon, 12 Mar 2007 23:55:55 +0000 (12 19:55 -0400)]
Docs: Reimplemented cmd-list generation script in sh

It would be nice if the perl dependency was completely gone.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Consistified the man pages
Josef 'Jeff' Sipek [Mon, 12 Mar 2007 18:17:11 +0000 (12 14:17 -0400)]
Docs: Consistified the man pages

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Ignore generated usage-*.txt files
Josef 'Jeff' Sipek [Mon, 12 Mar 2007 17:17:41 +0000 (12 13:17 -0400)]
Docs: Ignore generated usage-*.txt files

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Remaining guilt documentation
Brandon Philips [Mon, 12 Mar 2007 08:00:36 +0000 (12 01:00 -0700)]
[PATCH] Remaining guilt documentation

Adds man pages for all remaining commands except guilt-import-commit

NOTE: depends on usage generation patch

Signed-off-by: Brandon Philips <brandon@ifup.org>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Get usage information from the USAGE variable
Brandon Philips [Mon, 12 Mar 2007 07:26:46 +0000 (12 00:26 -0700)]
[PATCH] Get usage information from the USAGE variable

Generate usage information for man pages from USAGE in each script

Signed-off-by: Brandon Philips <brandon@ifup.org>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.22v0.22
Josef 'Jeff' Sipek [Sun, 11 Mar 2007 19:02:37 +0000 (11 15:02 -0400)]
Guilt v0.22

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoMerge branch 'tagging' of /git/guilt
Josef 'Jeff' Sipek [Sun, 11 Mar 2007 00:14:53 +0000 (10 19:14 -0500)]
Merge branch 'tagging' of /git/guilt

15 years agoMakefile: Replace hard-coded script list with a wildcard
Josef 'Jeff' Sipek [Sat, 10 Mar 2007 06:27:37 +0000 (10 01:27 -0500)]
Makefile: Replace hard-coded script list with a wildcard

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Added install-html makefile rule to Documentation/Makefile
Josef 'Jeff' Sipek [Sat, 10 Mar 2007 06:26:25 +0000 (10 01:26 -0500)]
Docs: Added install-html makefile rule to Documentation/Makefile

Very simple rule, which will make auto-generating the new html branch easy.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoAutotag: Read guilt.autotag config var and tag commits only if this feature is enabled
Josef 'Jeff' Sipek [Sat, 10 Mar 2007 04:38:18 +0000 (9 23:38 -0500)]
Autotag: Read guilt.autotag config var and tag commits only if this feature is enabled

Some users may not want to have guilt automatically tag the top, bottom, and
base of the stack. Allow them to disable such functionality by setting
guilt.autotag=0 in their git config file.

guilt-init now accepts a new parameter '-n' to automatically set
guilt.autotag=0 in the current repository.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoAutomatically create unannotated tags for top, bottom, and base of the stack
Josef 'Jeff' Sipek [Sat, 10 Mar 2007 04:33:58 +0000 (9 23:33 -0500)]
Automatically create unannotated tags for top, bottom, and base of the stack

On every push or pop operation (refresh is a pop followed by a push), update
the stack top (${branch}_top), stack bottom (${branch}_bottom), and stack
base (${branch}_base) tags.

Top: Topmost applied patch/commit
Bottom: Bottommost applied patch/commit
Base: Commit on top of which the bottom most patch is applied

Having these three tags, one can easily get the log/diff/other information
only for commits that are (or are not!) part of the patch stack.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Remove stray reference
Josef 'Jeff' Sipek [Thu, 8 Mar 2007 19:57:08 +0000 (8 14:57 -0500)]
Docs: Remove stray reference

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Fix command examples in new & next manpage
Josef 'Jeff' Sipek [Thu, 8 Mar 2007 19:48:26 +0000 (8 14:48 -0500)]
Docs: Fix command examples in new & next manpage

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Mention the fact that guilt can be used to develop guilt
Josef 'Jeff' Sipek [Thu, 8 Mar 2007 19:44:57 +0000 (8 14:44 -0500)]
Docs: Mention the fact that guilt can be used to develop guilt

Yeah, I know this is a shameless plug, but I might as well do it since this
_IS_ guilt.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Fix links/references between pages
Josef 'Jeff' Sipek [Thu, 8 Mar 2007 19:42:59 +0000 (8 14:42 -0500)]
Docs: Fix links/references between pages

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Makefile tab fix
Nur Hussein [Tue, 6 Mar 2007 09:05:30 +0000 (6 17:05 +0800)]
[PATCH] Guilt: Makefile tab fix

Accidentally messed up tabs in Makefile with spaces. Fixing with a tab.

Signed-off-by: Nur Hussein <hussein@cs.usm.my>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Added an uninstall target
Nur Hussein [Tue, 6 Mar 2007 03:31:09 +0000 (6 11:31 +0800)]
[PATCH] Guilt: Added an uninstall target

Invoking make uninstall will remove guilt files from installed directory.

Signed-off-by: Nur Hussein <hussein@cs.usm.my>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Fixed guilt-patchbomb temporary mbox deletion bug
Nur Hussein [Tue, 6 Mar 2007 07:53:54 +0000 (6 02:53 -0500)]
[PATCH] Guilt: Fixed guilt-patchbomb temporary mbox deletion bug

A bug occurred where the temporary mbox is deleted even when 'N' or 'n' was
selected because of the incorrect use of the -a operator when testing user
input. Fixed now to use -o instead.

[jsipek: Fixed up the condition some more]
Signed-off-by: Nur Hussein <hussein@cs.usm.my>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoMakefile's clean target should be .PHONY as well
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 18:16:58 +0000 (5 13:16 -0500)]
Makefile's clean target should be .PHONY as well

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoRemove find_git_dir as git-sh-setup already provides such functionality
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 10:01:16 +0000 (5 05:01 -0500)]
Remove find_git_dir as git-sh-setup already provides such functionality

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoQuote variables as frequently as possible to prevent whitespace problems
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 09:51:48 +0000 (5 04:51 -0500)]
Quote variables as frequently as possible to prevent whitespace problems

If for whatever reason, a user decides to have a patch with whitespace in
the name, several of the commands would break. This patch fixes the guilt
"lib" as well as the new and series commands. This should cover most cases,
however I'm sure that there are others.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agonew: Make sure the requested patchname would not create unnecessary problems
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 09:25:03 +0000 (5 04:25 -0500)]
new: Make sure the requested patchname would not create unnecessary problems

Using filenames containing e.g.,'/../' would cause problems. Avoid tripping
such problems by refusing to accept such patchnames.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoMerge thor:/git/guilt-docs
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 05:07:45 +0000 (5 00:07 -0500)]
Merge thor:/git/guilt-docs

15 years agoDocs: prev, refresh, top, and unapplied manpages
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 05:06:45 +0000 (5 00:06 -0500)]
Docs: prev, refresh, top, and unapplied manpages

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: Formatting fixes
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 05:03:15 +0000 (5 00:03 -0500)]
Docs: Formatting fixes

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: guilt-files manpage
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 04:51:37 +0000 (4 23:51 -0500)]
Docs: guilt-files manpage

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agofiles: Recurse into subdirectories when using git-diff-tree
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 04:46:01 +0000 (4 23:46 -0500)]
files: Recurse into subdirectories when using git-diff-tree

Without -r, a file such as fs/unionfs/copyup.c would should up as 'fs' which
is clearly wrong.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoDocs: guilt-new manpage
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 03:54:00 +0000 (4 22:54 -0500)]
Docs: guilt-new manpage

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoInform git-sh-setup that we can work from within a subdirectory
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 03:39:00 +0000 (4 22:39 -0500)]
Inform git-sh-setup that we can work from within a subdirectory

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.21v0.21
Josef 'Jeff' Sipek [Mon, 5 Mar 2007 00:06:04 +0000 (4 19:06 -0500)]
Guilt v0.21

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agohelp: A simple help command
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 23:41:48 +0000 (4 18:41 -0500)]
help: A simple help command

Wrapper for man(1) that uses the manual pages build by `make doc`.

Beware, it relies on MANPATH to be set correctly, which is probably the
wrong thing to do.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoRemoved print_usage as it shouldn't be used
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 23:33:16 +0000 (4 18:33 -0500)]
Removed print_usage as it shouldn't be used

guilt-init somehow managed to get away with using print_usage even though
all the other commands have been converted to use `usage` from git-sh-setup.
Fixing guilt-init makes print_usage unused and therefore it is safe to
remove it.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoInstall manpages to $(PREFIX)/man
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 23:25:10 +0000 (4 18:25 -0500)]
Install manpages to $(PREFIX)/man

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorefresh: Use ~ as the backup file suffix
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 23:14:57 +0000 (4 18:14 -0500)]
refresh: Use ~ as the backup file suffix

Using .prev as the backup file suffix creates all sort of "unexpected"
clutter. We're better off using ~, which many tools (and humans!) expect to
pop up all over the place.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoIgnore *.html, *.1 and *.7 in Documentation/
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 20:49:18 +0000 (4 15:49 -0500)]
Ignore *.html, *.1 and *.7 in Documentation/

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agodocs: Commands should be on a separate line
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 20:48:23 +0000 (4 15:48 -0500)]
docs: Commands should be on a separate line

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoReorder makefile rules & use .PHONY
Josef 'Jeff' Sipek [Sun, 4 Mar 2007 20:47:38 +0000 (4 15:47 -0500)]
Reorder makefile rules & use .PHONY

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Initial guilt documentation
Brandon Philips [Sun, 4 Mar 2007 20:27:38 +0000 (4 12:27 -0800)]
[PATCH] Initial guilt documentation

Rough documentation patch follows.

Creates an initial build system for guilt man pages written in asciidoc.
A good deal of the build/configuration system was borrowed from git but
has been customized for guilt.

Also includes guilt-init.txt and guilt.txt man pages.

Signed-off-by: Brandon Philips <brandon@ifup.org>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agorefresh: Make sure there is a patch applied before doing a refresh
Josef 'Jeff' Sipek [Thu, 1 Mar 2007 16:59:03 +0000 (1 11:59 -0500)]
refresh: Make sure there is a patch applied before doing a refresh

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: add a new command "files"
Yasushi SHOJI [Thu, 1 Mar 2007 16:37:51 +0000 (1 11:37 -0500)]
[PATCH] Guilt: add a new command "files"

The command "files" prints files that are being changed.

Currently option -v, -a and -l are supported, but --combine is not.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: series -v: Fix zero applied patch case
Yasushi SHOJI [Thu, 1 Mar 2007 14:17:43 +0000 (1 23:17 +0900)]
[PATCH] Guilt: series -v: Fix zero applied patch case

Even if no patch is applied we'd like series -v to work. it shouldn't
print warning and shouldn't put any status prefix at all.

This should fix it.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: add -v to guilt-series
Yasushi SHOJI [Thu, 1 Mar 2007 04:32:42 +0000 (28 23:32 -0500)]
[PATCH] Guilt: add -v to guilt-series

quilt series with option -v prints the patch names along with the
status of the patches in the series.  the status prefixes are:

    ' ': non-applied patch
    '+': applied patch
    '=': top most patch

I just miss this feature from quilt.  so here it is.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Replace print_usage and exit 1 with usage and die in git-sh-setup
Yasushi SHOJI [Thu, 1 Mar 2007 04:18:59 +0000 (28 23:18 -0500)]
[PATCH] Guilt: Replace print_usage and exit 1 with usage and die in git-sh-setup

git already has utility functions for shell script porcelains.  use
them instead of implementing our own.

[jsipek: Don't source git-sh-setup in guilt-*, just guilt]
Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoguilt: Document push_patch's new argument
Josef 'Jeff' Sipek [Tue, 27 Feb 2007 07:53:52 +0000 (27 02:53 -0500)]
guilt: Document push_patch's new argument

If push_patch's second argument is "abort", then do not create reject files
if the patch does not apply cleanly, but rather fail the push. Omitting the
argument or supplying an empty string will result in old behavior of
creating reject files.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoadd/rm: Use print_usage instead of using $USAGE directly
Josef 'Jeff' Sipek [Tue, 27 Feb 2007 07:31:35 +0000 (27 02:31 -0500)]
add/rm: Use print_usage instead of using $USAGE directly

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Do not allow patch name duplication
Yasushi SHOJI [Tue, 27 Feb 2007 06:35:41 +0000 (27 15:35 +0900)]
[PATCH] Guilt: Do not allow patch name duplication

Quilt maintain a series of patches with unique file names. we might be
able to use sha1 under guilt instead, but this dis-allowing is much
simpler and works now.

so exit with error as soon as we find out that the given patch already
exist under the current branch dir.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Guilt: Format command list in usage
Yasushi SHOJI [Tue, 27 Feb 2007 06:19:12 +0000 (27 15:19 +0900)]
[PATCH] Guilt: Format command list in usage

We are sure to get more and more guilt command, so format the command
list in the usage. With the format, it's much easier to see all
command in 25x80 terminal.

Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Allow command abbreviation
Yasushi SHOJI [Mon, 26 Feb 2007 16:32:16 +0000 (27 01:32 +0900)]
[PATCH] Allow command abbreviation

quilt allow us to type

    quilt ser

instead of

    quilt series

this patch does the same thing.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agopush: Fixed unkown patchname pushing all patches
Josef 'Jeff' Sipek [Mon, 26 Feb 2007 06:41:21 +0000 (26 01:41 -0500)]
push: Fixed unkown patchname pushing all patches

If an invalid patchname was supplied, many errors were outputed and all the
patches in the series were pushed.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] Make "guilt push" match "quilt push" when the patch doesn't apply
Theodore Ts'o [Mon, 26 Feb 2007 03:58:09 +0000 (25 22:58 -0500)]
[PATCH] Make "guilt push" match "quilt push" when the patch doesn't apply

Sometimes the reason why the patch doesn't apply is because it has
already been applied in mainline when rebasing a patch series.  It is
therefore more convenient if "guilt push" leaves the working tree
untouched if the patch fails to apply unless explicitly asked to force
apply a failing patch using the -f option.

This behavior matches how "quilt push" and "hg qpush" works, so it
also avoids unpleasant surprises for developers used to other patch
series tools.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoFixed do_make_header to include From:
Josef 'Jeff' Sipek [Wed, 21 Feb 2007 17:44:24 +0000 (21 12:44 -0500)]
Fixed do_make_header to include From:

Insert "\nFrom: $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL>" right after the first
line of the commit message. The GIT_AUTHOR_* vars are taken from the
"author" line in the commit object.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agomakefile: Include import-commit in list of scripts
Josef 'Jeff' Sipek [Wed, 21 Feb 2007 06:14:38 +0000 (21 01:14 -0500)]
makefile: Include import-commit in list of scripts

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.20v0.20
Josef 'Jeff' Sipek [Wed, 21 Feb 2007 05:56:38 +0000 (21 00:56 -0500)]
Guilt v0.20

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoCentralize pager determining code
Josef 'Jeff' Sipek [Mon, 19 Feb 2007 04:41:28 +0000 (18 23:41 -0500)]
Centralize pager determining code

$pager - available to all guilt commands. It should be used instead of
$PAGER, as it falls back to more if $PAGER is not set.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agopatchbomb: Don't ask for the intro email if sending only one patch
Josef 'Jeff' Sipek [Mon, 19 Feb 2007 04:27:04 +0000 (18 23:27 -0500)]
patchbomb: Don't ask for the intro email if sending only one patch

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoimport-commit: Use munge_hash_range
Josef 'Jeff' Sipek [Mon, 19 Feb 2007 03:50:51 +0000 (18 22:50 -0500)]
import-commit: Use munge_hash_range

Provide the user with a more intuitive hash range format:

  <hash> - one commit
  <hash>.. - hash until head (excludes hash, includes head)
  ..<hash> - until hash (includes hash)
  <hash1>..<hash2> - from hash to hash (inclusive)

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agopatchbomb: Use munge_hash_range
Josef 'Jeff' Sipek [Mon, 19 Feb 2007 03:50:10 +0000 (18 22:50 -0500)]
patchbomb: Use munge_hash_range

Provide the user with a more intuitive hash range format:

  <hash> - one commit
  <hash>.. - hash until head (excludes hash, includes head)
  ..<hash> - until hash (includes hash)
  <hash1>..<hash2> - from hash to hash (inclusive)

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agomunge_hash_range: Helper function
Josef 'Jeff' Sipek [Mon, 19 Feb 2007 03:34:57 +0000 (18 22:34 -0500)]
munge_hash_range: Helper function

Currently unused, however patchbomb and import-commit can both benefit form it.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years ago[PATCH] guilt: Silence command echoing for echos in Makefile
Brandon Philips [Thu, 15 Feb 2007 18:07:47 +0000 (15 10:07 -0800)]
[PATCH] guilt: Silence command echoing for echos in Makefile

Signed-off-by: Brandon Philips <brandon@ifup.org>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 years agoimport-commit: simple commit to patch importer
Josef 'Jeff' Sipek [Wed, 14 Feb 2007 00:40:05 +0000 (13 19:40 -0500)]
import-commit: simple commit to patch importer

A simple script to convert a given a range of commits to patches. Currently,
each commit gets put into a separate patch file. Ideally, there would be a
flag that tells us if we want 1 patch or N patches.

Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
15 years agoGuilt v0.19v0.19
Josef 'Jeff' Sipek [Mon, 12 Feb 2007 17:50:26 +0000 (12 12:50 -0500)]
Guilt v0.19

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 years agoregression: Fixed regression suite failure
Josef 'Jeff' Sipek [Mon, 12 Feb 2007 06:53:48 +0000 (12 01:53 -0500)]
regression: Fixed regression suite failure

Ted Ts'o's fix requires the patch files to have a pre-determined mtime, in
order for the regression tests to succeed.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 years ago[PATCH] Use patch file's modtime as the git author and commiter date
Theodore Ts'o [Sun, 11 Feb 2007 23:24:35 +0000 (11 18:24 -0500)]
[PATCH] Use patch file's modtime as the git author and commiter date

By using the same author and committer date, it keeps the git commit
id's stable if the patches haven't changed.  Otherwise, repeated
invocations of "guilt pop -a; guilt push -a" will create new commit's
with different commit dates, creating a lot of garbage commits that
won't disappear for a LONG time, even after running "git-gc --prune",
thanks to the reflog in git 1.5.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 years agopatchbomb: Added -n flag
Josef 'Jeff' Sipek [Sun, 11 Feb 2007 21:47:07 +0000 (11 16:47 -0500)]
patchbomb: Added -n flag

If -n is passed, everything executes as expected, however the emails are not
actually sent. Instead, the exact git-sent-email command is ouputed.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 years agoregression: Fix regression test failure
Josef 'Jeff' Sipek [Sun, 11 Feb 2007 21:39:33 +0000 (11 16:39 -0500)]
regression: Fix regression test failure

The regression tests did not reset the GIT_{AUTHOR,COMMITTER}_*
environmental variables, which made them fail on every system which did not
have them equal to:

"Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>"

Additionally, set the GIT_{AUTHOR,COMMITTER}_DATE to midnight January 1,
2007 UTC for all tests. This fixes a number of future regression test
failures (unless Git changes the internal format, the resulting
commit/tree/blob hashes should be fixed).

Greetings from Midway Airport in Chicago. :)

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>