diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-03 20:14:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-09-03 20:14:42 +1200 |
commit | 9b979bb8f8debf97e7f19e9fea801eed87cc1562 (patch) | |
tree | 6d53bdbe9214959be048e36447056a0d16f75586 | |
parent | Add note to cf(1df) (diff) | |
download | dotfiles-9b979bb8f8debf97e7f19e9fea801eed87cc1562.tar.gz dotfiles-9b979bb8f8debf97e7f19e9fea801eed87cc1562.zip |
Remove rmrej(1)
Wrong approach to this problem. `git clean -dfx ; git reset --hard` is
probably what's actually needed in most cases.
-rw-r--r-- | README.markdown | 1 | ||||
-rwxr-xr-x | bin/rmrej | 3 | ||||
-rw-r--r-- | man/man1/rmrej.1df | 17 |
3 files changed, 0 insertions, 21 deletions
diff --git a/README.markdown b/README.markdown index b14de7d7..6137a8b3 100644 --- a/README.markdown +++ b/README.markdown @@ -443,7 +443,6 @@ Installed by the `install-bin` target: * `plmu(1df)` retrieves a list of installed modules from [`plenv`](https://github.com/tokuhirom/plenv), filters out any modules in `~/.plenv/non-cpan-modules`, and updates them all. -* `rmrej(1df)` deletes rejected hunks from a failed `patch(1)` run. * `shb(1df)` attempts to build shebang lines for scripts from `$PATH`. * `spr(1df)` posts its input to the sprunge.us pastebin. * `sshi(1df)` prints human-readable SSH connection details. diff --git a/bin/rmrej b/bin/rmrej deleted file mode 100755 index 8ecbd2c1..00000000 --- a/bin/rmrej +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# Delete all rejected hunks from patch(1) -find "${1:-.}" -type f -name \*.rej -print -exec rm -- {} \; diff --git a/man/man1/rmrej.1df b/man/man1/rmrej.1df deleted file mode 100644 index 9af77837..00000000 --- a/man/man1/rmrej.1df +++ /dev/null @@ -1,17 +0,0 @@ -.TH RMREJ 1df "August 2016" "Manual page for rmrej" -.SH NAME -.B rmrej -\- delete all rejected hunks from a failed patch(1) -.SH SYNOPSIS -.B rmrej -.br -.B rmrej -dir -.SH DESCRIPTION -.B rmrej -uses find(1) to find rejected patch hunks (.rej) in the given directory -(defaulting to the current directory), print their names, and delete them. -.SH SEE ALSO -patch(1) -.SH AUTHOR -Tom Ryder <tom@sanctum.geek.nz> |