Keegan Carruthers-Smith
b4d51dcc6c
git: Sort RepositoryPicks to rank active repo first
2017-10-27 14:06:19 +02:00
João Moreno
178d05621f
Merge pull request #36971 from keegancsmith/git-error-to-string
...
git: Include GitErrorData in GitError.toString
2017-10-27 12:13:35 +02:00
Johannes Rieken
6c09f4aafc
don't report progress when running check-ignore, #36754
2017-10-27 11:15:28 +02:00
Johannes Rieken
47e1c93285
deco - use correct/overwrite decorations in scm viewlet because the same URI can have multiple decorations
2017-10-26 17:01:18 +02:00
Johannes Rieken
86cd46a44e
deco - allow to derive new decoration from existing decoration, add IDecorationData#source
2017-10-26 17:01:18 +02:00
Keegan Carruthers-Smith
fb47be0fa1
git: Throw fetch error
2017-10-26 12:26:46 +02:00
Keegan Carruthers-Smith
16089481f0
git: Include GitErrorData in GitError.toString
...
We are passing `GitErrorData` to `JSON.stringify` to include in the string
generated by `GitError.toString`. However, we set `replacer` to `[]`, which
means `JSON.stringify` will _always_ serialize to `{ }`. After this change
GitError messages should be more understandable, and not just say `Failed to
execute git`.
2017-10-26 11:32:48 +02:00
isidor
3e3d09021d
also use darker red for git deleted
2017-10-25 17:24:24 +02:00
isidor
5d93cd1543
git color decoration: a bit different colors for light theme
2017-10-25 17:20:44 +02:00
Johannes Rieken
51fa1659ac
deco - priority
2017-10-25 09:38:22 +02:00
Johannes Rieken
a0c26c8a1d
deco - show badge in scm viewlet when no icons are provided
2017-10-24 17:58:04 +02:00
Joao Moreno
6d6104b3fd
dont run git status after check-ignore
...
fixes #36552
2017-10-19 16:17:39 +02:00
Johannes Rieken
c9c409cb7b
deco - don't call check-ignore without files
2017-10-18 12:15:18 +02:00
Johannes Rieken
44bd7e3176
deco - don't check for ignored files outside the repo
2017-10-18 11:44:55 +02:00
Johannes Rieken
71d332b464
deco - remove opacity, use colors only, remove provider label from proposed api
2017-10-18 10:36:47 +02:00
Johannes Rieken
ca2c107324
deco - update decorations when gitignore-file changes
2017-10-18 10:06:13 +02:00
Johannes Rieken
5faa72ac39
deco - use a color for ignored files
2017-10-18 09:03:15 +02:00
BattleBas
170161d67f
Simplified method to check active file
...
Updated the "detectActiveFile" method to be more simple and straightforward.
Thanks to @lodenrogue suggestion!
2017-10-17 22:23:52 -05:00
Johannes Rieken
d5880b1a59
deco - decorate ignored files
2017-10-17 17:19:36 +02:00
Stuart Baker
3afbdb4126
Ask to publish branch if there is no upstream
2017-10-17 14:38:08 +01:00
Johannes Rieken
41f0ff15d7
deco - move scm decorations to git extension
2017-10-17 12:49:56 +02:00
Peter Kahle
124b9a4032
Cleaning up handling of Git Submodule status
2017-10-15 21:16:45 -04:00
Peter Kahle
b97bad54b1
When clicking on a changed submodule in the git window, do nothing.
2017-10-15 20:46:07 -04:00
Peter Kahle
472349046b
Sorting repositories when searching by Uri to ensure nested repositories are found if appropriate.
2017-10-13 08:50:11 -04:00
Peter Kahle
9e2338a8c7
First, naive pass at supporting submodules.
...
Scan for submodules when a module is added, and add those repositories immediately.
2017-10-12 21:43:25 -04:00
BattleBas
6c40a968f4
Added setting "git.autoRepositoryDetection"
...
When opening just one file, the setting "autoRepositoryDetection" allows the user to control whether the entire repository changes will be displayed or just the changes of the current file.
2017-10-12 20:19:07 -05:00
Benjamin Pasero
ca6a055ba2
git - once again fix broken selection syncing
2017-10-12 17:52:55 +02:00
Joao Moreno
3070c0bb66
Merge branch 'dirtydiff'
2017-10-12 16:07:31 +02:00
Johannes Rieken
f813a949c1
adjust scm colors
2017-10-12 14:47:02 +02:00
Joao Moreno
1f058ae1cb
diff: fix stage/revert ranges
2017-10-11 17:17:10 +02:00
Joao Moreno
45fa36902e
diff: snappier stage
2017-10-11 15:27:37 +02:00
Joao Moreno
7d729c9d17
diff: inline actions
2017-10-11 15:16:47 +02:00
Johannes Rieken
a34ee0c5aa
label tweak
2017-10-10 17:09:36 +02:00
Johannes Rieken
9c4052804d
adjust git colors
2017-10-10 17:09:35 +02:00
Johannes Rieken
e73da33e4f
add back untracked color, remove suffix for now
2017-10-10 17:09:35 +02:00
Johannes Rieken
73164106d5
simplify git decorations...
2017-10-10 17:09:34 +02:00
Johannes Rieken
5c109769f0
use ColorIdentifier instead of Color, define some git colors for untracked, modifed, and ignored
2017-10-10 17:08:53 +02:00
Joao Moreno
dfc3c944a4
remove unused variable
2017-10-10 16:05:37 +02:00
Joao Moreno
ccb7910128
git content provider checks the wrong cache key
...
fixes #35559
2017-10-10 10:22:11 +02:00
Brendan Forster
b1407a87b0
disable lookup for GitHub's version of Git
...
If the classic GitHub for Windows (creatively named github.exe) is installed alongside the new GitHub Desktop (which installs a github.bat file to PATH), we can get into the situation where Code can ask the GUI to authenticate for a private repository, which it doesn't understand.
2017-10-10 18:04:14 +11:00
Joao Moreno
58b990f3ef
be more careful with git init
...
fixes #35902
2017-10-09 14:52:10 +02:00
Dmitry Kabardinov
22d926fed6
Git - show there are no changes to stash message only if there are neither staged nor unsataged files ( #35645 )
2017-10-06 14:27:01 +03:00
Dmitry Kabardinov
27e4463134
Commit unstaged files after pop-up confirmation ( #35185 )
2017-10-06 13:06:09 +03:00
Joao Moreno
6a6b589eb8
fix compile errors
2017-10-04 15:43:48 +02:00
Joao Moreno
9b7a6b6fb9
fixes #35513
2017-10-04 15:01:32 +02:00
Joao Moreno
bb23d1244e
lock git @types deps
...
related to #35561
2017-10-04 13:38:41 +02:00
Joao Moreno
bcb3e0d00e
detect conflict markers when staging
...
fixes #33983
2017-10-03 10:21:20 +02:00
Markus Wolf
24a31523f9
Merge remote-tracking branch 'upstream/master' into git-clone-with-url
2017-10-02 12:24:56 +02:00
Markus Wolf
855a55d755
fix: use single remote automatically
...
If there is only one remote configured just use it instead of aksing the user which remote to use.
Closes #35373
2017-10-02 11:31:59 +02:00
Matthew Ferderber
26aa18de15
use previous commit msg for amend, Fixes #35182
2017-09-29 17:21:14 -04:00