[PATCH v2] nmbug: Add an 'init' command

2014-10-11 Thread David Bremner
"W. Trevor King" writes: > On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: >> W. Trevor King writes: >> > but I expect that closing stdin is more portable than the /dev/null >> > path. >> >> /dev/null is part of POSIX > > Maybe folks want to use nmbug on Windows or some other craz

[PATCH v2] nmbug: Add an 'init' command

2014-10-11 Thread David Bremner
"W. Trevor King" writes: > > but I expect that closing stdin is more portable than the /dev/null > path. /dev/null is part of POSIX http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap10.html

Re: [PATCH v2] nmbug: Add an 'init' command

2014-10-11 Thread W. Trevor King
On Sat, Oct 11, 2014 at 09:02:20AM +0200, David Bremner wrote: > W. Trevor King writes: > > On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: > >> W. Trevor King writes: > >> > but I expect that closing stdin is more portable than the > >> > /dev/null path. > >> > >> /dev/null is part

[PATCH v2] nmbug: Add an 'init' command

2014-10-11 Thread W. Trevor King
On Sat, Oct 11, 2014 at 09:02:20AM +0200, David Bremner wrote: > W. Trevor King writes: > > On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: > >> W. Trevor King writes: > >> > but I expect that closing stdin is more portable than the > >> > /dev/null path. > >> > >> /dev/null is part

Re: [PATCH v2] nmbug: Add an 'init' command

2014-10-11 Thread David Bremner
"W. Trevor King" writes: > On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: >> W. Trevor King writes: >> > but I expect that closing stdin is more portable than the /dev/null >> > path. >> >> /dev/null is part of POSIX > > Maybe folks want to use nmbug on Windows or some other craz

Re: [PATCH v2] nmbug: Add an 'init' command

2014-10-10 Thread W. Trevor King
On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: > W. Trevor King writes: > > but I expect that closing stdin is more portable than the /dev/null > > path. > > /dev/null is part of POSIX Maybe folks want to use nmbug on Windows or some other crazy non-POSIX OS? I don't know how Win

[PATCH v2] nmbug: Add an 'init' command

2014-10-10 Thread W. Trevor King
On Sat, Oct 11, 2014 at 06:53:11AM +0200, David Bremner wrote: > W. Trevor King writes: > > but I expect that closing stdin is more portable than the /dev/null > > path. > > /dev/null is part of POSIX Maybe folks want to use nmbug on Windows or some other crazy non-POSIX OS? I don't know how Win

Re: [PATCH v2] nmbug: Add an 'init' command

2014-10-10 Thread David Bremner
"W. Trevor King" writes: > > but I expect that closing stdin is more portable than the /dev/null > path. /dev/null is part of POSIX http://pubs.opengroup.org/onlinepubs/95399/basedefs/xbd_chap10.html ___ notmuch mailing list notmuch@not

[PATCH v2] nmbug: Add an 'init' command

2014-10-10 Thread W. Trevor King
For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. The empty-blob hash-object call avoids errors like: $ nmbug commit error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'tags/...' fatal: git-write-tre

[PATCH v2] nmbug: Add an 'init' command

2014-10-10 Thread W. Trevor King
For folks that want to start versioning a new tag-space, instead of cloning one that someone else has already started. The empty-blob hash-object call avoids errors like: $ nmbug commit error: invalid object 100644 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 for 'tags/...' fatal: git-write-tre