pkgsrc/devel/cogito/patches/patch-ab
wiz 5e735b74b3 Update to 0.18.2:
From the release announce mails:

   I've released cogito-0.18.2, bringing a couple of bugfixes and a trivial new
 feature to cogito-0.18.1. Still nothing too groundshattering.

 * cg-log does not follow history across renames anymore; it never really
   actually worked and was instead causing problems and random error
   messages. There needs to be git-core support for this funcionality,
   hacking it with a perl filter is bad design, so I'm not going to fix
   the filter (but I'd take patches if someone else did ;).

 * Fix cg-init not letting you edit the initial commit message by default
 * Fix cg-clone -l which would not setup alternates properly in some cases
 * Fix cg-merge not picking the right base when following volatile branches
 * Fix cg-log -d sometimes showing "% @" in diff output
 * Some other minor fixes

 * New cg-object-id -b to print the current branch name

 * Documentation improvements (better documented ignoring mechanism,
   ~/.gitconfig mentioned, GIT_COMMITTER_* bogus information fixed, ...)
 * Some testsuite fixes

---

    I've released cogito-0.18.1, bringing few minor new features and
  random bugfixes to the cogito-0.18 version. Nothing groundshattering.

  * cg-switch -c as a shortcut for cg-switch -r HEAD - use it to create a new
    branch with less typing
  * cg-patch -e to edit log message before autocommitting (useful esp. as
    cg-patch -m -e)
  * Support for cg-version --lib-dir, --share-dir
  * cg-admin-rewritehist now defines a map() function for filters' use,
    translating from old to new commit ids
  * cg-commit -e now runs editor on /dev/tty even if input is not a tty
  * Trivial documentation improvements
  * Random details fixed
2007-03-10 19:09:33 +00:00

15 lines
505 B
Text

$NetBSD: patch-ab,v 1.2 2007/03/10 19:09:33 wiz Exp $
From PR 35020.
--- cg-Xlib.orig 2006-11-17 00:37:24.000000000 +0000
+++ cg-Xlib
@@ -615,7 +615,7 @@ tree_timewarp()
# Kill gone files
git-diff-tree -z --name-status -r "$base" "$branch" |
perl -n0e 'chomp; if (defined $meta) { print "$_\0" if $meta eq 'D'; $meta=undef } else { $meta = $_ }' |
- xargs --null rm -f --
+ xargs -0 rm -f --
git-checkout-index -u -f -a
# FIXME: Can produce bogus "contains only garbage" messages.