summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Tree-wide white-space cleanupsJean Delvare2014-01-201-1/+1
| | | | | | | * Delete blank lines at end of files. * Delete white space at end of lines. * Delete spaces before tab. * Replace 8 spaces by a tab where it makes sense.
* quilt-el: fix `quilt-patch-list' to call `quilt series'..Satoru Takeuchi2012-03-101-1/+1
| | | | It's a regression problem caused by a106d99d754c88c049c111f6ccdfb06c2bede4f2.
* quilt-el: remove `Version' and `URL' tags in the documentSatoru Takeuchi2012-03-101-2/+0
| | | | Now quilt-el is a part of quilt itself. So above tags are no longer needed.
* quilt-el: make it byte compile cleanSatoru Takeuchi2012-03-101-8/+6
|
* quilt-el: make it checkdoc clean.Satoru Takeuchi2012-03-101-54/+82
|
* quilt-el: supporting multiple quilt treesSatoru Takeuchi2012-03-101-31/+75
|
* quilt-el: cleanup codes by introducing `quilt-cmd-to-list' function.Satoru Takeuchi2012-03-101-9/+10
|
* quilt-el: fix polluting namespace by nested function.Satoru Takeuchi2012-03-101-33/+29
|
* quilt-el: return to the original cwd even if `shell-command' failed.Satoru Takeuchi2012-03-101-4/+6
|
* quilt-el: update the maintainer's email addres.Satoru Takeuchi2012-03-101-1/+1
|
* quilt-el: optimize `quilt-revert'Satoru Takeuchi2012-03-101-1/+2
|
* quilt-el: considering default-directory' is nilSatoru Takeuchi2012-03-101-1/+2
|
* quilt-el: simplify quilt-revertSatoru Takeuchi2012-03-101-6/+2
|
* quilt-el: be aware of QUILT_PATCHESSatoru Takeuchi2012-03-101-2/+14
|
* Clean up legacy C codeJean Delvare2012-02-011-622/+0
| | | | | | | Finally get rid of the old C implementation of backup-files, together with all the related checks in configure and variables in Makefile. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* - No longer create backup files of new files with file mode 0.Andreas Gruenbacher2009-11-221-2/+3
| | | | (This has been changed in GNU patch 2.6 as well.)
* Concurrent readdir() + unlink() compatibility fixAndreas Gruenbacher2009-06-151-15/+35
|
* Convert to git repository formatv0.48Andreas Gruenbacher2009-01-291-1/+0
|
* - Stop using cp -l: it doesn't fall back to doing a regular copyAndreas Gruenbacher2008-05-201-7/+17
| | | | | when hardlinks are not supported; on some types of filesystems like AFS and in some situtions, this is annoying.
* fixing quilt-importSatoru Takeuchi2007-10-061-1/+3
|
* fixing no-patch-applied cases.Satoru Takeuchi2007-10-061-35/+45
|
* support QUILT_PATCHES_PREFIXSatoru Takeuchi2007-10-061-1/+1
|
* Move quilt-mode-line definition to topleve.Satoru Takeuchi2007-07-211-2/+3
|
* - lib/backup-files.c: Do not modify the original file wheneverAndreas Gruenbacher2007-04-161-10/+16
| | | | | | | possible: previously, a ``quilt add'' usually linked the file to he backup and then copied the backup over the file to ensure a link count of one. Recognize this case, and create a copy in the first place instead.
* - Add quilt.el and its README file. (The emacs mode is not beingAndreas Gruenbacher2007-04-151-0/+486
| | | | installed properly, yet.)
* - lib/backup-files.c: Close files before rename; Windows won'tAndreas Gruenbacher2006-02-121-2/+8
| | | | rename open files.
* - bin/patch-wrapper.in: A wrapper to GNU patch that recognizes theAndreas Gruenbacher2006-02-061-5/+7
| | | | | | | | | | most common options and mimics GNU patch's behavior and output, and creates the quilt metadata as if quilt push was used to apply the patch. When options are used that this wrapper does not recognize, GNU patch is used directly, and no quilt metadata will get created. - lib/backup-files.c: Don't fail if a directory specified with -B does not exist.
* - Allow backup-files to build on windows using the MinGW compiler.Andreas Gruenbacher2006-01-301-0/+11
|
* - lib/backup-files.c: Tru64 does not have snprintf. (Reported byAndreas Gruenbacher2006-01-301-5/+3
| | | | John Vandenberg).
* - Change the default PATH_MAX from 4095 to 4096.Andreas Gruenbacher2006-01-261-2/+2
| | | | - sizeof(char) == 1.
* - lib/backup-files.c: Fix usage line and help text.Jean Delvare2006-01-261-10/+14
| | | | | - lib/backup-files.c: Improve recursive processing by avoiding repeated realloc and strlen calls. Hardly measurable though.
* - Use perror(progname) instead of perror(NULL).Andreas Gruenbacher2006-01-261-1/+1
|
* - Also check for access(path, R_OK|X_OK) before visiting all theAndreas Gruenbacher2006-01-261-1/+1
| | | | | files in a directory: this avoids an error message for each file in a non-executable directory.
* - lib/backup-files.c: Stop using ftw and implement our own dirAndreas Gruenbacher2006-01-263-156/+68
| | | | | walking: ftw is a portability nightmare. The foreachdir function is based a proposal from Gary V. Vaughan <gary@gnu.org>, thanks!
* - lib/backup-files.c: Fix memory leaks (markus@oberhumer.com).Andreas Gruenbacher2006-01-251-3/+4
|
* - lib/backup-files.c: Don't fail when link(1) returns ENOSYS, andAndreas Gruenbacher2006-01-251-1/+2
| | | | try to copy in that case.
* - lib/backup-files.c: Fix another missed optimization.Andreas Gruenbacher2006-01-251-2/+4
|
* - lib/backup-files.c: Several fixes from Markus as well.Andreas Gruenbacher2006-01-251-11/+37
|
* - lib/backup-files.c: Cleanups by Markus F.X.J. OberhumerAndreas Gruenbacher2006-01-251-19/+24
| | | | <markus@oberhumer.com>.
* - Add fallback ftw implementation for systems that don't have it.Andreas Gruenbacher2006-01-212-0/+139
|
* - Use ftw instead of nftw (some platforms don't have nftw).Andreas Gruenbacher2006-01-211-2/+2
|
* - lib/backup-files.c: Only create and remove parents that areAndreas Gruenbacher2006-01-211-23/+34
| | | | | missing or empty. Report errors in nftw. (Minor changes by agruen@suse.de).
* - Remove config.h, and use @DEFS@ in Makefile.in insteadAndreas Gruenbacher2005-09-181-7/+10
| | | | (Gary V. Vaughan <gary@gnu.org>).
* - lib/backup-files.c: add missing dependency on config.h. CheckAndreas Gruenbacher2005-09-181-8/+9
| | | | | for chmod and fchmod support. Remove two unnecessary chmod calls. - Makefile.in: fix cyclic dependency on Makefile.
* - lib/backup-files.c: use mktemp if mkstemp is not availableAndreas Gruenbacher2005-09-181-0/+5
| | | | (Gary V. Vaughan <gary@gnu.org>). Add a config.h.
* - lib/backup-files.c: switch from alloca to malloc for portability.Andreas Gruenbacher2005-09-181-29/+46
|
* - Fix a syntax error.Andreas Gruenbacher2005-01-271-1/+1
|
* - lib/backup-files.c: Remove unused command line option andAndreas Gruenbacher2005-01-271-9/+7
| | | | | | | | document the remaining options. - quilt/pop.in: Colorize this as well: "Patch attempted to create file *, which already exists." "can't find file to patch at input line *" "* out of * hunk ignored"
* - When applying a patch with -q and without -f no (individual)Andreas Gruenbacher2004-10-171-2/+11
| | | | | | | | | | | reject files are created, and the "patching file" comments are missing as well. In that case, we don't know wich files the "-- saving rejects to file /tmp/foo" comments belong to, and we can't fic them up. Remove them, instead. - Pop command: Touch files after they are restored so that tools like make don't get confused. - Update test cases. - Bump to version 0.37.
* - backup-file.c: Add code to recursively search .pc directories.Andreas Gruenbacher2004-06-061-21/+70
| | | | | | | | | | Add a "no-op" mode as default, and allow to just unlink files. - apatch/rpatch: let backup-files search .pc directories instead of generating temporary file lists. - rpatch/pop: unlink files of topmost patch after popping instead of unlinking at each step. - If QUILTRC is set in the environment, use this as the configuration file.