Commits
- Commit:
899fcfdf4534887848844329dae7327bd810a432
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a dry-run/nop mode for got patch
with lots of help from stsp for the manpage bits!
- Commit:
5b67f96efbfbf2e5a3f75f6ab91e45dd3013c77f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got patch: require exact match when removing files
- Commit:
dbda770b9c10968769697cd1a7d6ffff596dd30b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
check file status before applying the patch
Don't allow `got patch' to delete files that are not known, or add files
that are already known and to edit files that are known, not obstructed
and without conflicts.
- Commit:
6e96b3268181f675fcf264d5e682d86a15ce426a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor apply_patch to support renaming files
add two helper functions (schedule_add, schedule_del) and move the guts
of apply_patch into a new function `patch_file'. This simplifies
apply_patch and makes easier to figure out what happens.
Then, drop GOT_ERR_PATCH_PATHS_DIFFER since we allow the to rename
files.
- Commit:
bfbccd0a546344106bb6e22074678a396d7bcad0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use test(1) -eq and -ne to compare integers; ok tb
- Commit:
fd79e2e02793239b5efc0d2ffda3c44a49a85e8a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typos
- Commit:
e9ce266e31923cc339954b331d273d9bba543f6f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add `got patch' command for applying unified diffs