Re: [PATCH] nmbug: Add --no-renames to default log options

2016-09-26 Thread Tomi Ollila
On Mon, Sep 26 2016, "W. Trevor King"  wrote:

> Git has supported this since b68ea12e (diff.c: respect diff.renames
> config option, 2006-07-07, v1.4.2).  All of our information is in the
> paths (the files are empty), so we don't want rename detection.  By
> using --no-renames, we get entries like:
>
>   $ nmbug log -- e473b453a2
>   commit e473b453a25c072b5df67d834d822121373321f5
>   Author: David Bremner 
>   Date:   Sun Sep 25 07:54:11 2016 -0300
>
>   D   
> tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/0.23
>   A   
> tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/pushed
>
>   ...
>
> Instead of the old:
>
>   $ nmbug log -- e473b453a2
>   commit e473b453a25c072b5df67d834d822121373321f5
>   Author: David Bremner 
>   Date:   Sun Sep 25 07:54:11 2016 -0300
>
>   R100
> tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/0.23   
> tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/pushed
> ---

You must have newer git (than 2.8.2) (with smarter rename detection) as I
do not experience this using current nmbug -- also doing

( cd $HOME/.nmbug && exec git log --name-status e473b453a2 )

works as expected (I tried also renaming .gitconfig away w/o effect)

anyway, change looks good; i just cannot test it (fully), the it seems like
it works after change since git log --name-status --no-renames e473b453a2
works too


>  devel/nmbug/nmbug | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug
> index 1dd5f14..6febf16 100755
> --- a/devel/nmbug/nmbug
> +++ b/devel/nmbug/nmbug
> @@ -475,7 +475,7 @@ def log(args=()):
>  'nmbug log HEAD..@{upstream}'.
>  """
>  # we don't want output trapping here, because we want the pager.
> -args = ['log', '--name-status'] + list(args)
> +args = ['log', '--name-status', '--no-renames'] + list(args)
>  with _git(args=args, expect=(0, 1, -13)) as p:
>  p.wait()
>  
> -- 
> 2.1.0.60.g85f0837
>
> ___
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


[PATCH] nmbug: Add --no-renames to default log options

2016-09-26 Thread W. Trevor King
Git has supported this since b68ea12e (diff.c: respect diff.renames
config option, 2006-07-07, v1.4.2).  All of our information is in the
paths (the files are empty), so we don't want rename detection.  By
using --no-renames, we get entries like:

  $ nmbug log -- e473b453a2
  commit e473b453a25c072b5df67d834d822121373321f5
  Author: David Bremner 
  Date:   Sun Sep 25 07:54:11 2016 -0300

  D   tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/0.23
  A   
tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/pushed

  ...

Instead of the old:

  $ nmbug log -- e473b453a2
  commit e473b453a25c072b5df67d834d822121373321f5
  Author: David Bremner 
  Date:   Sun Sep 25 07:54:11 2016 -0300

  R100tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/0.23 
  tags/1474196252-31700-1-git-send-email-markwalters1...@gmail.com/pushed
---
 devel/nmbug/nmbug | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/nmbug/nmbug b/devel/nmbug/nmbug
index 1dd5f14..6febf16 100755
--- a/devel/nmbug/nmbug
+++ b/devel/nmbug/nmbug
@@ -475,7 +475,7 @@ def log(args=()):
 'nmbug log HEAD..@{upstream}'.
 """
 # we don't want output trapping here, because we want the pager.
-args = ['log', '--name-status'] + list(args)
+args = ['log', '--name-status', '--no-renames'] + list(args)
 with _git(args=args, expect=(0, 1, -13)) as p:
 p.wait()
 
-- 
2.1.0.60.g85f0837

___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: [PATCH] emacs: tree: make b bounce a message and backspace scroll message pane up

2016-09-26 Thread David Bremner
Mark Walters  writes:

> This tweaks the keybindings in tree-mode. It make b do bounce/resend
> matching show-mode. Since b was already bound to scroll message pane
> back, we now use backspace for that.
>
> This means space/backspace scroll the message pane forwards/backwards,
> and page-up/page-down scrolls the tree pane forwards/backwards.

I call 5 hour rule, and squeezed one more patch in to 0.23. If nothing else,
this makes the NEWS easier to write ;).


d
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch


Re: freeze for 0.23

2016-09-26 Thread David Bremner
David Bremner  writes:

> Although there are several interesting patch series in progress, I think
> there are enough useful new features in master that we ought to have
> another release.
>
> I plan to have a feature freeze starting on September 26 with a release
> roughly a week later. After September 26 I'll only take bug fixes and
> NEWS updates onto the release branch.
>
> As usual, feel free to tag suggestions for the next release as
> notmuch::0.23 in nmbug.

We are now frozen for 0.23. I have tagged 0.23_rc0 in git, and uploaded
it to debian experimental. At this point I expect only NEWS changes and
serious bug fixes before release.

d


signature.asc
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch