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
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
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
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
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
Joao Moreno
3b76085a6c
fixes #35216
2017-09-28 11:51:40 +02:00
Joao Moreno
a13fdcbf50
Repository.close
...
fixes #35041
2017-09-28 11:09:44 +02:00
Joao Moreno
ae7e9613ce
fixes #34358
2017-09-28 10:05:20 +02:00
Joao Moreno
5b3d47b0bb
fixes #35044
2017-09-27 17:20:04 +02:00
Joao Moreno
826c2ae009
fix #33692
2017-09-27 16:47:42 +02:00
Joao Moreno
1ca31aa6db
git.ignore should detect workspaces
...
fixes #35176
2017-09-27 12:23:42 +02:00
kieferrm
08d8f0f9f6
indentation changes
2017-09-25 18:36:43 -07:00
kieferrm
fbb3e25987
omit endPoint where it defaults to none
2017-09-25 18:36:43 -07:00
kieferrm
32282d2be9
GDPR classification for git extension
2017-09-25 18:36:43 -07:00
Jeyanthinath
282afd5979
fixed hygiene
2017-09-23 13:12:02 +05:30
Jeyanthinath
b25ad5c74d
fix vscode #32681
2017-09-23 12:49:37 +05:30
Johannes Rieken
57aab4f84c
Merge branch 'master' into joh/ftp
2017-09-20 13:48:02 +02:00