Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _git commit object name completion



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06.06.2015 21:27, Bart Schaefer wrote:
> On Jun 2, 10:18am, Daniel Shahaf wrote:

> } > __git_commits gets called through __git_revisions and
> } >  __git_tree_ishs for git-commit.
> } > 
> } > Should be fixed by 35216, feedback/testing would be welcome on that.
> } 
> } I've been using 35216 in my normal build for the past couple of weeks
> } and haven't noticed anything odd.  Ship it?
> 
> I would say so.  I thought it was already in.  Definitely now that 5.0.8
> is out, it should get committed to be tested adequately.

Pushed as e8cf611.
Thanks for reminding me.

I've created a Vim function to automate the ChangeLog addition:

fun! InsertZshChangelog()
  " Get X-Ref and subject from "git log".
  let gitlog = systemlist("git log --name-only --pretty=format:'%s' -1")
  let [xref, subject] = split(gitlog[0], '^\d\+\zs: ')
  let files = gitlog[1:-1]

  exe "normal! ggO\<C-R>=strftime('%Y-%m-%d')\<CR>  Daniel Hahler  \<zsh@xxxxxxxxxx>\<CR>\<CR>\<C-V>\<Tab>* \<C-R>=xref\<CR>: \<C-R>=join(files, ', ')\<CR>: \<C-R>=subject\<CR>.\<CR>"
endfun


Regards,
Daniel.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iD8DBQFVdMfVfAK/hT/mPgARAoy7AJ4u8N1InIGXI3RN9+x2AkqIedU6SgCgxWTo
CSUccAzgLj7Lg98VRVDcg84=
=nbcN
-----END PGP SIGNATURE-----



Messages sorted by: Reverse Date, Date, Thread, Author