Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
197c642
codeql: disable a couple of non-critical queries for now
dscho Mar 21, 2025
2cb2d17
date: help CodeQL understand that there are no leap-year issues here
dscho Jul 23, 2025
eae2b62
help: help CodeQL understand that consuming envvars is okay here
dscho Jul 23, 2025
92aa9b8
ctype: help CodeQL understand that `sane_istest()` does not access ar…
dscho Jul 23, 2025
7321f92
ctype: accommodate for CodeQL misinterpreting the `z` in `mallocz()`
dscho Jul 23, 2025
3eb46bb
strbuf_read: help with CodeQL misunderstanding that `strbuf_read()` d…
dscho Jul 23, 2025
62f540c
codeql: also check JavaScript code
dscho Jul 24, 2025
e92866b
Merge branch 'clar'
dscho Mar 21, 2025
fe44a97
Merge branch 'uninitialized-variables'
dscho Oct 27, 2022
fa47b6b
Merge branch 'defensive-programming'
dscho Mar 21, 2025
d76cc98
Merge branch 'codeql-fixes'
dscho Mar 21, 2025
dc85f0a
gvfs: add the core.gvfs config setting
Jan 24, 2017
feede92
gvfs: add the feature to skip writing the index' SHA-1
Jan 24, 2017
7f2f815
gvfs: add the feature that blobs may be missing
Jan 24, 2017
dc30755
gvfs: prevent files to be deleted outside the sparse checkout
May 18, 2016
07cd48f
gvfs: optionally skip reachability checks/upload pack during fetch
May 30, 2016
417c6d5
gvfs: add global command pre and post hook procs
May 24, 2016
512babe
gvfs: ensure all filters and EOL conversions are blocked
Jun 15, 2016
912d651
t0400: verify that the hook is called correctly from a subdirectory
dscho Mar 16, 2017
84dbe95
gvfs: allow "virtualizing" objects
Jan 10, 2017
125f58e
t0400: verify core.hooksPath is respected by pre-command
mjcheetham Mar 12, 2025
4d97f27
Hydrate missing loose objects in check_and_freshen()
Mar 15, 2017
9f63cd8
Pass PID of git process to hooks.
alepauly Apr 10, 2017
e03d905
sha1_file: when writing objects, skip the read_object_hook
dscho Sep 8, 2017
3de0347
sparse-checkout: make sure to update files with a modify/delete conflict
Feb 22, 2017
bd2f4fa
git_config_set_multivar_in_file_gently(): add a lock timeout
dscho May 18, 2021
2f64226
scalar: set the config write-lock timeout to 150ms
dscho May 18, 2021
5f6ca48
scalar: add docs from microsoft/scalar
derrickstolee Jun 16, 2021
ed4706a
Merge branch 'scalar-gentler-config-locking'
dscho May 19, 2021
320bad9
Merge branch 'scalar-extra-docs'
dscho Nov 16, 2021
bc0a618
scalar (Windows): use forward slashes as directory separators
dscho May 10, 2022
8e7a5b9
scalar: add retry logic to run_git()
derrickstolee Jun 17, 2021
46a0c3f
scalar: support the `config` command for backwards compatibility
dscho May 27, 2021
d7e4c96
Merge core VFS features
dscho Jun 11, 2018
e1de959
Merge branch 'codeql'
dscho Mar 21, 2025
87eed03
Do not remove files outside the sparse-checkout
Apr 5, 2017
680f447
send-pack: do not check for sha1 file when GVFS_MISSING_OK set
Nov 16, 2018
d753b59
cache-tree: remove use of strbuf_addf in update_one
Jul 3, 2017
b327335
gvfs: block unsupported commands when running in a GVFS repo
benpeart Dec 6, 2018
137a953
worktree: allow in Scalar repositories
derrickstolee Sep 30, 2022
0aeffe3
sparse-checkout: avoid writing entries with the skip-worktree bit
Mar 1, 2017
780c99a
gvfs: allow overriding core.gvfs
derrickstolee Apr 15, 2020
b41cc38
BRANCHES.md: Add explanation of branches and using forks
Jul 27, 2018
fc00d20
Add virtual file system settings and hook proc
benpeart Jan 11, 2018
fe37d98
virtualfilesystem: don't run the virtual file system hook if the inde…
benpeart Aug 1, 2018
f5d1201
virtualfilesystem: check if directory is included
Oct 9, 2018
c8d9cfd
backwards-compatibility: support the post-indexchanged hook
dscho May 28, 2019
09c7512
gvfs: verify that the built-in FSMonitor is disabled
dscho Jun 18, 2021
264b6d8
wt-status: add trace2 data for sparse-checkout percentage
jeffhostetler Jun 21, 2024
a884bdb
wt-status: add VFS hydration percentage to normal `git status` output
jeffhostetler Jun 24, 2024
a63a215
status: add status serialization mechanism
jeffhostetler Aug 22, 2017
bed685b
Teach ahead-behind and serialized status to play nicely together
jamill Jan 10, 2018
4c1b2c6
status: serialize to path
jeffhostetler Feb 2, 2018
40be547
status: reject deserialize in V2 and conflicts
jeffhostetler Feb 7, 2018
ed58304
serialize-status: serialize global and repo-local exclude file metadata
jeffhostetler Jul 20, 2018
5a6faf2
status: deserialization wait
jeffhostetler Jul 25, 2018
8717dff
status: deserialize with -uno does not print correct hint
jeffhostetler Jun 25, 2019
93b0c24
fsmonitor: check CE_FSMONITOR_VALID in ce_uptodate
kewillford Nov 21, 2019
9eca474
fsmonitor: add script for debugging and update script for tests
kewillford Nov 21, 2019
2bfabb6
status: disable deserialize when verbose output requested.
jeffhostetler Apr 11, 2020
e0b0143
t7524: add test for verbose status deserialzation
jeffhostetler Apr 11, 2020
b2b42e3
deserialize-status: silently fallback if we cannot read cache file
jeffhostetler May 13, 2020
f7615eb
gvfs:trace2:data: add trace2 tracing around read_object_process
jeffhostetler Sep 26, 2018
b47ac12
gvfs:trace2:data: status deserialization information
jeffhostetler Sep 26, 2018
ec3fa0f
gvfs:trace2:data: status serialization
jeffhostetler Jan 7, 2019
1418e58
gvfs:trace2:data: add vfs stats
jeffhostetler Nov 19, 2018
5e65478
trace2: refactor setting process starting time
jeffhostetler Apr 15, 2019
30c19f5
trace2:gvfs:experiment: clear_ce_flags_1
jeffhostetler Apr 30, 2019
b0f7428
trace2:gvfs:experiment: report_tracking
jeffhostetler Apr 30, 2019
f7f6d49
trace2:gvfs:experiment: read_cache: annotate thread usage in read-cache
jeffhostetler Jun 14, 2019
c478cd3
trace2:gvfs:experiment: read-cache: time read/write of cache-tree ext…
jeffhostetler Jul 9, 2019
ead3631
trace2:gvfs:experiment: add region to apply_virtualfilesystem()
jeffhostetler Jul 16, 2019
57bdbe1
trace2:gvfs:experiment: add region around unpack_trees()
jeffhostetler Jul 16, 2019
e738fd8
trace2:gvfs:experiment: add region to cache_tree_fully_valid()
jeffhostetler Jul 16, 2019
fa98735
trace2:gvfs:experiment: add unpack_entry() counter to unpack_trees() …
jeffhostetler Jul 16, 2019
54f91c6
trace2:gvfs:experiment: increase default event depth for unpack-tree …
jeffhostetler Jul 25, 2019
4c9459d
trace2:gvfs:experiment: add data for check_updates() in unpack_trees()
jeffhostetler Jul 25, 2019
044bdda
Trace2:gvfs:experiment: capture more 'tracking' details
jeffhostetler Jul 26, 2019
25caf6a
credential: set trace2_child_class for credential manager children
jeffhostetler Oct 3, 2019
30a937b
sub-process: do not borrow cmd pointer from caller
jeffhostetler Sep 18, 2019
fb01211
sub-process: add subprocess_start_argv()
jeffhostetler Sep 18, 2019
500e76d
sha1-file: add function to update existing loose object cache
jeffhostetler Sep 24, 2019
6d31645
packfile: add install_packed_git_and_mru()
jeffhostetler Sep 25, 2019
03155e0
index-pack: avoid immediate object fetch while parsing packfile
jeffhostetler Sep 24, 2019
c90f3a2
gvfs-helper: create tool to fetch objects using the GVFS Protocol
jeffhostetler Aug 13, 2019
b46a7f7
sha1-file: create shared-cache directory if it doesn't exist
jeffhostetler Oct 7, 2019
f13819b
gvfs-helper: better handling of network errors
jeffhostetler Oct 8, 2019
d6c22c8
gvfs-helper-client: properly update loose cache with fetched OID
jeffhostetler Oct 8, 2019
b85fa98
gvfs-helper: V2 robust retry and throttling
jeffhostetler Oct 10, 2019
4914079
gvfs-helper: expose gvfs/objects GET and POST semantics
jeffhostetler Oct 21, 2019
cecdfd5
gvfs-helper: dramatically reduce progress noise
derrickstolee Oct 24, 2019
5945425
gvfs-helper: handle pack-file after single POST request
derrickstolee Nov 11, 2019
8c99b85
test-gvfs-prococol, t5799: tests for gvfs-helper
jeffhostetler Oct 25, 2019
e872d8a
gvfs-helper: move result-list construction into install functions
jeffhostetler Nov 13, 2019
e8007d9
t5799: add support for POST to return either a loose object or packfile
jeffhostetler Nov 13, 2019
9fab94c
t5799: cleanup wc-l and grep-c lines
jeffhostetler Nov 13, 2019
9bc78b9
gvfs-helper: verify loose objects after write
derrickstolee Sep 18, 2020
2db49cb
t7599: create corrupt blob test
jeffhostetler Sep 18, 2020
1014f65
gvfs-helper: add prefetch support
jeffhostetler Nov 11, 2019
4c0d982
gvfs-helper: add prefetch .keep file for last packfile
jeffhostetler Nov 26, 2019
5fd41c3
gvfs-helper: do one read in my_copy_fd_len_tail()
derrickstolee Dec 16, 2019
ceecb71
gvfs-helper: move content-type warning for prefetch packs
derrickstolee Dec 16, 2019
d4fccbe
fetch: use gvfs-helper prefetch under config
derrickstolee Dec 17, 2019
c4bf2b2
gvfs-helper: better support for concurrent packfile fetches
jeffhostetler Dec 18, 2019
eb7e11b
remote-curl: do not call fetch-pack when using gvfs-helper
derrickstolee Feb 3, 2020
4a251fd
fetch: reprepare packs before checking connectivity
derrickstolee Mar 12, 2020
23c31cf
gvfs-helper: retry when creating temp files
derrickstolee Dec 26, 2019
ada684f
sparse: avoid warnings about known cURL issues in gvfs-helper.c
derrickstolee Aug 3, 2021
5556f4f
gvfs-helper: add --max-retries to prefetch verb
jeffhostetler Apr 12, 2023
1c9a79e
t5799: add tests to detect corrupt pack/idx files in prefetch
jeffhostetler Apr 13, 2023
77e120d
gvfs-helper: ignore .idx files in prefetch multi-part responses
jeffhostetler Apr 13, 2023
d6269fb
t5799: explicitly test gvfs-helper --fallback and --no-fallback
jeffhostetler Jun 28, 2024
4810c9e
gvfs-helper: don't fallback with new config
derrickstolee Jun 27, 2024
e389079
test-gvfs-protocol: add cache_http_503 to mayhem
jeffhostetler Jun 28, 2024
4c7fe74
t5799: add unit tests for new `gvfs.fallback` config setting
jeffhostetler Jun 28, 2024
ca423b6
maintenance: care about gvfs.sharedCache config
derrickstolee Dec 15, 2020
f6807a2
unpack-trees:virtualfilesystem: Improve efficiency of clear_ce_flags
neerajsi-msft2 Feb 6, 2021
2c5f43c
homebrew: add GitHub workflow to release Cask
mjcheetham Jul 24, 2020
d93063b
Adding winget workflows
Apr 29, 2021
490cd7c
Disable the `monitor-components` workflow in msft-git
dscho May 13, 2022
0f333e4
.github: enable windows builds on microsoft fork
derrickstolee Mar 8, 2023
70c4033
.github/actions/akv-secret: add action to get secrets
mjcheetham Apr 1, 2025
b89ed88
release: create initial Windows installer build workflow
vdye Jul 16, 2021
570fe38
release: create initial Windows installer build workflow
mjcheetham Mar 21, 2025
4233825
help: special-case HOST_CPU `universal`
jeffhostetler Oct 17, 2023
a3eab7e
release: add Mac OSX installer build
vdye Jul 16, 2021
74f6cbf
release: build unsigned Ubuntu .deb package
vdye Jul 16, 2021
d2e36bf
release: add signing step for .deb package
vdye Jul 16, 2021
05eb718
release: create draft GitHub release with packages & installers
vdye Jul 16, 2021
ce62988
build-git-installers: publish gpg public key
ldennington Oct 24, 2023
be89ec0
release: continue pestering until user upgrades
derrickstolee Oct 6, 2021
d2efdbb
dist: archive HEAD instead of HEAD^{tree}
vdye Dec 2, 2021
b25ad8e
release: include GIT_BUILT_FROM_COMMIT in MacOS build
vdye Dec 2, 2021
d6f75ea
release: add installer validation
ldennington Aug 17, 2022
c4cd789
update-microsoft-git: create barebones builtin
derrickstolee Apr 29, 2021
d339f7f
update-microsoft-git: Windows implementation
derrickstolee Apr 29, 2021
f440076
update-microsoft-git: use brew on macOS
derrickstolee Apr 29, 2021
a9aa7a1
.github: reinstate ISSUE_TEMPLATE.md for microsoft/git
derrickstolee Mar 16, 2022
fa1b35b
.github: update PULL_REQUEST_TEMPLATE.md
derrickstolee Mar 16, 2022
505b5af
Adjust README.md for microsoft/git
May 4, 2021
f4a1b54
Merge branch 'microsoft/vfs-2.35.0'
dscho Oct 7, 2021
95315de
Merge branch 'scalar'
dscho Aug 24, 2021
6495d60
scalar: implement a minimal JSON parser
dscho Apr 26, 2021
86b3390
scalar clone: support GVFS-enabled remote repositories
dscho Aug 24, 2021
efd0448
test-gvfs-protocol: also serve smart protocol
dscho Apr 16, 2021
46e0e0c
gvfs-helper: add the `endpoint` command
dscho Apr 26, 2021
bc11d59
dir_inside_of(): handle directory separators correctly
dscho May 14, 2021
5c43d43
scalar: disable authentication in unattended mode
dscho May 6, 2021
1fd8f0e
scalar: do initialize `gvfs.sharedCache`
dscho May 3, 2021
ba09355
scalar diagnose: include shared cache info
dscho Jun 1, 2021
e495cb1
scalar: only try GVFS protocol on https:// URLs
dscho Apr 28, 2021
c3707db
scalar: verify that we can use a GVFS-enabled repository
dscho Apr 16, 2021
9ff0c42
scalar: add the `cache-server` command
dscho Apr 23, 2021
b310626
scalar: add a test toggle to skip accessing the vsts/info endpoint
dscho May 12, 2021
db1e76f
scalar: adjust documentation to the microsoft/git fork
dscho Jan 25, 2022
e3c02f8
scalar: enable untracked cache unconditionally
derrickstolee Jun 21, 2021
9e97dfb
scalar: parse `clone --no-fetch-commits-and-trees` for backwards comp…
dscho Aug 24, 2021
f7f0d8f
scalar: make GVFS Protocol a forced choice
derrickstolee May 1, 2024
3b23370
scalar: work around GVFS Protocol HTTP/2 failures
Copilot May 22, 2025
cdd3ce7
scalar diagnose: accommodate Scalar's Functional Tests
dscho May 9, 2022
65acc85
ci: run Scalar's Functional Tests
dscho Jun 8, 2021
dc4a1ab
scalar: upgrade to newest FSMonitor config setting
vdye Apr 5, 2022
e261d06
abspath: make strip_last_path_component() global
derrickstolee Oct 4, 2022
87cf75d
scalar: .scalarCache should live above enlistment
derrickstolee Sep 30, 2022
f38e333
Merge branch 'scalar-with-gvfs'
dscho May 3, 2021
fa19493
Merge branch 'run-scalar-functional-tests'
dscho Nov 16, 2021
a6b8c82
Merge branch 'scalar-reconfigure'
dscho Jun 1, 2021
6260ddc
Merge pull request #536: Allow --no-src during clones and git worktre…
dscho Oct 4, 2022
b308163
add/rm: allow adding sparse entries when virtual
derrickstolee Jun 29, 2021
185e008
sparse-checkout: add config to disable deleting dirs
derrickstolee Aug 22, 2021
c537d29
diff: ignore sparse paths in diffstat
derrickstolee Jul 26, 2021
9dbd34b
repo-settings: enable sparse index by default
derrickstolee Jun 15, 2021
043ce56
Merge pull request #392: add: allow adding sparse entries when virtual
derrickstolee Jul 1, 2021
aa22f4e
Merge pull request #410: Sparse Index: latest integrations
derrickstolee Aug 24, 2021
ffa3a75
Merge pull request #414: Make sparse index the default
derrickstolee Aug 26, 2021
f550e3d
diff(sparse-index): verify with partially-sparse
ldennington Sep 10, 2021
a058909
Merge pull request #419 from ldennington/sparse-index-diff
ldennington Sep 12, 2021
c54e14b
stash: expand testing for `git stash -u`
vdye Sep 22, 2021
f80e7ca
Merge pull request #430 from vdye/sparse-index/clean
vdye Sep 23, 2021
176cd0f
Merge pull request #432: sequencer: avoid progress when stderr is red…
derrickstolee Sep 23, 2021
f30e5ea
sparse: add vfs-specific precautions
derrickstolee Oct 31, 2021
1f607a6
reset: fix mixed reset when using virtual filesystem
Mar 15, 2017
91c64e8
Merge pull request #494: reset: fix mixed reset when using virtual fi…
derrickstolee Apr 4, 2022
beac86b
Merge advanced VFS-specific features
dscho Jun 11, 2018
f3f4305
Merge virtualfilesystem hook
dscho Jun 11, 2018
98ce79c
Merge updates to serialized status
dscho Jun 11, 2018
7e4abde
Merge trace2 experimental regions
jeffhostetler Apr 23, 2019
bb3b880
Merge first wave of gvfs-helper feature
jeffhostetler Nov 14, 2019
e00d671
Merge gvfs-helper prefetch feature
derrickstolee Dec 17, 2019
765e4bf
Harden gvfs-helper to validate the packfiles in a multipart prefetch …
jeffhostetler Apr 17, 2023
d3394bf
gvfs-helper: add gvfs.fallback and unit tests (#665)
dscho Jul 1, 2024
26b4817
Merge pull request #301: Update 'git maintenance' to match upstream
derrickstolee Dec 15, 2020
fbb7923
Merge pull request #315: unpack-trees:virtualfilesystem: Improve effi…
derrickstolee Feb 16, 2021
6f9f4f4
Merge branch 'add-workflows'
derrickstolee Apr 30, 2021
af924bb
Merge branch 'adjust-g4w-workflows'
dscho May 13, 2022
fd86fcb
Merge pull request #399 from vdye/feature/build-installers
vdye Jul 29, 2021
127d455
Merge pull request #472 from vdye/ms/macos-build-options
vdye Dec 6, 2021
89c00a8
Merge pull request #329: Add `git update-microsoft-git`
derrickstolee Apr 30, 2021
c787311
Merge pull request #333: update microsoft/git README
derrickstolee May 17, 2021
cd59708
Merge pull request #371 from dscho/run-scalar-functional-tests-and-fi…
dscho Jun 9, 2021
ded0abc
Merge branch 'sparse-index-stuff'
dscho Jun 17, 2022
01ce2df
sparse-index: add ensure_full_index_with_reason()
derrickstolee Sep 30, 2024
b7a3367
treewide: add reasons for expanding index
derrickstolee Sep 30, 2024
403a160
treewide: custom reasons for expanding index
derrickstolee Sep 30, 2024
b9ea6d1
sparse-index: add macro for unaudited expansions
derrickstolee Sep 30, 2024
cea5ba4
Docs: update sparse index plan with logging
derrickstolee Sep 30, 2024
5bc3f10
sparse-index: log failure to clear skip-worktree
derrickstolee Sep 30, 2024
7419f09
Sparse Index: log why the index is being expanded (#691)
dscho Oct 9, 2024
36fe2f4
stash: use -f in checkout-index child process
derrickstolee Sep 30, 2024
5be73e6
sparse-index: do not copy hashtables during expansion
derrickstolee Sep 27, 2024
63ccb5f
Fix rare segfault in sparse-index (#690)
dscho Oct 9, 2024
d2aa8cb
sub-process: avoid leaking `cmd`
dscho Dec 18, 2024
1ece110
remote-curl: release filter options before re-setting them
dscho Dec 18, 2024
56cf374
transport: release object filter options
dscho Dec 18, 2024
bcf465e
Merge branch 'leak-fixes'
dscho Dec 18, 2024
9675174
push: don't reuse deltas with path walk
derrickstolee Nov 16, 2024
d54e302
pack-objects: don't reuse deltas with path walk (#707)
dscho Dec 19, 2024
0b54529
t7900-maintenance.sh: reset config between tests
mjcheetham Jan 22, 2025
ac8b25d
maintenance: add cache-local-objects maintenance task
mjcheetham Jan 14, 2025
55fa13e
scalar.c: add cache-local-objects task
mjcheetham Jan 23, 2025
44c06ba
maintenance: add new `cache-local-objects` maintenance task (#720)
mjcheetham Jan 31, 2025
9fe41c7
git.c: add VFS enabled cmd blocking
mjcheetham Mar 6, 2025
be98a92
git.c: permit repack cmd in Scalar repos
mjcheetham Mar 6, 2025
60e224f
git.c: permit fsck cmd in Scalar repos
mjcheetham Mar 13, 2025
23e538c
git.c: permit prune cmd in Scalar repos
mjcheetham Mar 13, 2025
a274f54
worktree: remove special case GVFS cmd blocking
mjcheetham Mar 6, 2025
a60f2bd
builtin/repack.c: emit warning when shared cache is present
mjcheetham Mar 26, 2025
cec3ded
hooks: add custom post-command hook config
derrickstolee Mar 25, 2025
39ecccb
Docs: fix asciidoc failures from short delimiters
derrickstolee Mar 25, 2025
9eefb36
hooks: make hook logic memory-leak free
derrickstolee Mar 25, 2025
ad15c4d
Permit `repack` command in Scalar clones (#732)
mjcheetham Mar 31, 2025
bff73ac
hooks: add custom post-command hook config (#736)
dscho Apr 7, 2025
9234140
t5309: create failing test for 'git index-pack'
derrickstolee Apr 23, 2025
e97a8d6
Fix REF_DELTA chain bug in 'git index-pack' (#745)
dscho Apr 25, 2025
114b9f6
gvfs-helper: pass `long` values where expected
dscho Jun 6, 2025
d152532
Merge branch 'curl-options-want-long-instead-of-int-msft-git'
dscho Jun 6, 2025
d044410
gvfs-helper-client: clean up server process(es)
derrickstolee May 23, 2025
77d79c4
gvfs-helper-client: clean up server process (#756)
dscho Jun 13, 2025
31836ac
Merge branch 'codeql'
dscho Mar 21, 2025
99eaa8b
Merge branch 'codeql'
dscho Mar 21, 2025
aec2a62
sparse-checkout: remove use of the_repository
derrickstolee Jul 7, 2025
12c90dd
sparse-checkout: add basics of 'clean' command
derrickstolee Jul 7, 2025
8f2ab78
sparse-checkout: match some 'clean' behavior
derrickstolee Jul 15, 2025
409d0fd
dir: add generic "walk all files" helper
derrickstolee Jul 15, 2025
67c46e9
sparse-checkout: add --verbose option to 'clean'
derrickstolee Jul 15, 2025
6cd508b
sparse-index: point users to new 'clean' action
derrickstolee Jul 7, 2025
4b28845
t: expand tests around sparse merges and clean
derrickstolee Jul 16, 2025
7d1927d
sparse-checkout: make 'clean' clear more files
derrickstolee Jul 16, 2025
ce5f7e9
sparse-checkout: mark 'clean' as experimental
derrickstolee Aug 5, 2025
dfbb7df
Add 'git sparse-checkout clean' (#779)
dscho Aug 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
- [ ] I was not able to find an [open](https://github.com/microsoft/git/issues?q=is%3Aopen)
or [closed](https://github.com/microsoft/git/issues?q=is%3Aclosed) issue matching
what I'm seeing, including in [the `git-for-windows/git` tracker](https://github.com/git-for-windows/git/issues).

### Setup

- Which version of `microsoft/git` are you using? Is it 32-bit or 64-bit?

```
$ git --version --build-options

** insert your machine's response here **
```

Are you using Scalar or VFS for Git?

** insert your answer here **

If VFS for Git, then what version?

```
$ gvfs version

** insert your machine's response here **
```

- Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?

```
$ cmd.exe /c ver

** insert your machine's response here **
```

- Any other interesting things about your environment that might be related
to the issue you're seeing?

** insert your response here **

### Details

- Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

** insert your response here **

- What commands did you run to trigger this issue? If you can provide a
[Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve)
this will help us understand the issue.

```
** insert your commands here **
```
- What did you expect to occur after running these commands?

** insert here **

- What actually happened instead?

** insert here **

- If the problem was occurring with a specific repository, can you specify
the repository?

* [ ] Public repo: **insert URL here**
* [ ] Windows monorepo
* [ ] Office monorepo
* [ ] Other Microsoft-internal repo: **insert name here**
* [ ] Other internal repo.
105 changes: 0 additions & 105 deletions .github/ISSUE_TEMPLATE/bug-report.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

28 changes: 8 additions & 20 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
Thanks for taking the time to contribute to Git!

Those seeking to contribute to the Git for Windows fork should see
http://gitforwindows.org/#contribute on how to contribute Windows specific
enhancements.

If your contribution is for the core Git functions and documentation
please be aware that the Git community does not use the github.com issues
or pull request mechanism for their contributions.

Instead, we use the Git mailing list (git@vger.kernel.org) for code and
documentation submissions, code reviews, and bug reports. The
mailing list is plain text only (anything with HTML is sent directly
to the spam folder).

Nevertheless, you can use GitGitGadget (https://gitgitgadget.github.io/)
to conveniently send your Pull Requests commits to our mailing list.

For a single-commit pull request, please *leave the pull request description
empty*: your commit message itself should describe your changes.

Please read the "guidelines for contributing" linked above!
This fork contains changes specific to monorepo scenarios. If you are an
external contributor, then please detail your reason for submitting to
this fork:

* [ ] This is an early version of work already under review upstream.
* [ ] This change only applies to interactions with Azure DevOps and the
GVFS Protocol.
* [ ] This change only applies to the virtualization hook and VFS for Git.
54 changes: 54 additions & 0 deletions .github/actions/akv-secret/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Get Azure Key Vault Secrets

description: |
Get secrets from Azure Key Vault and store the results as masked step outputs,
environment variables, or files.

inputs:
vault:
required: true
description: Name of the Azure Key Vault.
secrets:
required: true
description: |
Comma- or newline-separated list of secret names in Azure Key Vault.
The output and encoding of secrets can be specified using this syntax:

SECRET ENCODING> $output:OUTPUT
SECRET ENCODING> $env:ENVAR
SECRET ENCODING> FILE

SECRET Name of the secret in Azure Key Vault.
ENCODING (optional) Encoding of the secret: base64.
OUTPUT Name of a step output variable.
ENVAR Name of an environment variable.
FILE File path (relative or absolute).

If no output format is specified the default is a step output variable
with the same name as the secret. I.e, SECRET > $output:SECRET.

Examples:

Assign output variable named `raw-var` to the raw value of the secret
`raw-secret`:

raw-secret > $output:raw-var

Assign output variable named `decoded-var` to the base64 decoded value
of the secret `encoded-secret`:

encoded-secret base64> $output:decoded-var

Download the secret named `tls-certificate` to the file path
`.certs/tls.cert`:

tls-certificate > .certs/tls.cert

Assign environment variable `ENV_SECRET` to the base64 decoded value of
the secret `encoded-secret`:

encoded-secret base64> $env:ENV_SECRET

runs:
using: node20
main: index.js
Loading
Loading