Procházet zdrojové kódy

Adds date and changes to stashes in views

main
Eric Amodio před 6 roky
rodič
revize
c8a64efe40
3 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -1
      README.md
  3. +1
    -1
      package.json

+ 1
- 0
CHANGELOG.md Zobrazit soubor

@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Only provided if the current branch is tracking a remote branch and is ahead of it
- Adds control over the contributed menu commands to the Source Control side bar to the GitLens interactive settings editor (via the `gitlens.menus` setting)
- Adds Git extended regex support to commit searches
- Adds the date and a changes indicator (+x ~x -x) to stashes in GitLens views (uses the new `${changes}` token in the `gitlens.views.stashFormat` setting)
### Changed

+ 1
- 1
README.md Zobrazit soubor

@ -350,7 +350,7 @@ The repositories view provides the following features,
- **Stashes** — lists the stashed changes in the repository
- An inline toolbar provides quick access to the _Apply Stash Changes_, and _Stash Changes_ commands
- Provides the name of each stashed changes
- Provides the name of each stashed changes, the date, and an indicator (+x ~x -x) of the changes
- An inline toolbar provides quick access to the _Compare with HEAD_ (`alt-click` for _Compare with Working Tree_), _Apply Stashed Changes_, and _Delete Stashed Changes_ commands
- A context menu provides access to more common stashed changes commands
- Each stashed changes expands to list the set of stashed files, complete with status indicators for adds, changes, renames, and deletes

+ 1
- 1
package.json Zobrazit soubor

@ -1475,7 +1475,7 @@
},
"gitlens.views.stashFormat": {
"type": "string",
"default": "${message}",
"default": "${message} • ${agoOrDate}${ • changes}",
"markdownDescription": "Specifies the format of stashed changes in the views. See the [GitLens docs](https://github.com/eamodio/vscode-gitlens/wiki/Advanced-Formatting) for advanced formatting\n- Available tokens\n - `${id}` — commit id\n - `${author}` — commit author\n - `${message}` — commit message\n - `${ago}` — relative commit date (e.g. 1 day ago)\n - `${date}` — formatted commit date (format specified by `#gitlens.statusBar.dateFormat#`)\n - `${agoOrDate}` — commit date specified by `#gitlens.defaultDateStyle#`\n - `${authorAgo}` — commit author, relative commit date\n - `${authorAgoOrDate}` — commit author, commit date specified by `#gitlens.defaultDateStyle#`",
"scope": "window"
},

Načítá se…
Zrušit
Uložit