Skip to content

Commit

Permalink
unposted: vcs_info: Add Vim modelines
Browse files Browse the repository at this point in the history
... for consistency with all other vcs_info function files.
  • Loading branch information
danielshahaf committed Jan 29, 2022
1 parent ee5e3d0 commit c055c64
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2022-01-29 Daniel Shahaf <d.s@daniel.shahaf.name>

* unposted: Functions/VCS_Info/VCS_INFO_patch2subject,
Functions/VCS_Info/VCS_INFO_set-branch-format,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info: Add
Vim modelines

* 49723: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Use quilt-patch-dir and ${QUILT_PATCHES} even when get-unapplied
hasn't been set
Expand Down
2 changes: 2 additions & 0 deletions Functions/VCS_Info/VCS_INFO_patch2subject
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## vim:ft=zsh
#
# This function takes as an argument a filename of a patch and sets $REPLY to
# a single-line "subject", or unsets it if no subject could be extracted.
{
Expand Down
2 changes: 2 additions & 0 deletions Functions/VCS_Info/VCS_INFO_set-branch-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## vim:ft=zsh
#
# A function for calling the branch-format hook
#
# Return the value to use in REPLY
Expand Down
2 changes: 2 additions & 0 deletions Functions/VCS_Info/VCS_INFO_set-patch-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## vim:ft=zsh
#
# This function is the common guts of the gen-applied-string /
# gen-unapplied-string / set-patch-format dance of several backends.
#
Expand Down
2 changes: 2 additions & 0 deletions Misc/vcs_info-examples
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## vim:ft=zsh
#
# A collection of vcs_info usage examples

### Running vcs_info #########################################################
Expand Down

0 comments on commit c055c64

Please sign in to comment.