Skip to content

Commit e69c476

Browse files
committed
fix some places where we're still referring to 'git media'
1 parent c0846b1 commit e69c476

File tree

10 files changed

+24
-24
lines changed

10 files changed

+24
-24
lines changed

commands/command_init.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
var (
99
initCmd = &cobra.Command{
1010
Use: "init",
11-
Short: "Initialize the default Git Media configuration",
11+
Short: "Initialize the default Git LFS configuration",
1212
Run: initCommand,
1313
}
1414

docs/api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
The server implements a simple API for uploading and downloading binary content.
44
Git repositories that use Git LFS will specify a URI endpoint. See the
5-
[specification](spec.md) for how Git Media determines the server endpoint to use.
5+
[specification](spec.md) for how Git LFS determines the server endpoint to use.
66

77
Use that endpoint as a base, and append the following relative paths to upload
88
and download from the Git LFS server.
@@ -210,8 +210,8 @@ When Git LFS clients issue a POST request to initiate an object upload, the
210210
response can potentially return a "verify" link relation. If given, The Git LFS
211211
API expects a POST to the href after a successful upload. Git LFS clients send:
212212

213-
* `oid` - The String OID of the Git Media object.
214-
* `size` - The integer size of the Git Media object.
213+
* `oid` - The String OID of the Git LFS object.
214+
* `size` - The integer size of the Git LFS object.
215215

216216
```
217217
> POST https://git-lfs-server.com/callback

docs/man/git-lfs-clean.1.ronn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ git-lfs-clean(1) -- Git clean filter that converts large files to pointers.
88
## DESCRIPTION
99

1010
Clean calculates a SHA-256 signature of the data from STDOUT, and outputs a
11-
Git Media pointer file. It also queues the file to be pushed by
11+
Git LFS pointer file. It also queues the file to be pushed by
1212
git-lfs-push(1).
1313

1414
Clean is typicall run by Git's clean filter, configured by the repository's

docs/man/git-lfs-env.1.ronn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git-lfs-env(1) -- Display the Git Media environment.
1+
git-lfs-env(1) -- Display the Git LFS environment.
22
=========================================================
33

44
## SYNOPSIS
@@ -7,7 +7,7 @@ git-lfs-env(1) -- Display the Git Media environment.
77

88
## DESCRIPTION
99

10-
Displays the current Git Media environment.
10+
Displays the current Git LFS environment.
1111

1212
## SEE ALSO
1313

docs/man/git-lfs-push.1.ronn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git-lfs-push(1) -- Push queued large files to the Git Media endpoint.
1+
git-lfs-push(1) -- Push queued large files to the Git LFS endpoint.
22
=======================================================================
33

44
## SYNOPSIS
@@ -7,7 +7,7 @@ git-lfs-push(1) -- Push queued large files to the Git Media endpoint.
77

88
## DESCRIPTION
99

10-
Push uploads Git Media files to the configured endpoint for the current
10+
Push uploads Git LFS files to the configured endpoint for the current
1111
Git remote.
1212

1313
Push is typically run by Git's pre-push hook.

docs/man/git-lfs.1.ronn

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,29 @@ git-lfs(1) -- Work with large files in Git repositories.
77

88
## DESCRIPTION
99

10-
Git Media is a set of filters and hooks to work with large files in Git
11-
repositories. Instead of storing the large files as Git blobs, Git Media uses
10+
Git LFS is a set of filters and hooks to work with large files in Git
11+
repositories. Instead of storing the large files as Git blobs, Git LFS uses
1212
clean and smudge filters to store a pointer in Git blobs instead. The actual
13-
file gets pushed to a Git Media HTTPS endpoint, and downloaded automatically
14-
when a Git branch is checked out.
13+
file gets pushed to a Git LFS API, and downloaded automatically when a Git
14+
branch is checked out.
1515

1616
## COMMANDS
1717

18-
Like Git, Git Media commands are separated into high level ("porcelain")
18+
Like Git, Git LFS commands are separated into high level ("porcelain")
1919
commands and low level ("plumbing") commands.
2020

2121
### High-level commands (porcelain)
2222

2323
* git-lfs-config(1):
24-
Display the Git Media environment.
24+
Display the Git LFS environment.
2525
* git-lfs-init(1):
26-
Ensure Git Media is configured properly.
26+
Ensure Git LFS is configured properly.
2727
* git-lfs-logs(1):
2828
Show errors from the git-lfs command.
2929
* git-lfs-path(1):
30-
View and modify Git Media paths in Git attributes.
30+
View and modify Git LFS paths in Git attributes.
3131
* git-lfs-push(1):
32-
Push queued large files to the Git Media endpoint.
32+
Push queued large files to the Git LFS endpoint.
3333

3434
### Low level commands (plumbing)
3535

docs/spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ generated from the SHA-256 signature of the file's contents.
4949

5050
Git LFS needs a URL endpoint to talk to a remote server. A Git repository
5151
can have different Git LFS endpoints for different remotes. Here is the list
52-
of rules that Git Media uses to determine a repository's Git Media server:
52+
of rules that Git LFS uses to determine a repository's Git LFS server:
5353

5454
1. The `lfs.url` string.
5555
2. The `remote.{name}.lfs` string.
@@ -109,7 +109,7 @@ expects the content to write to the working directory as STDOUT.
109109
* Otherwise, simply pass the STDIN out through STDOUT.
110110

111111
The `.gitattributes` file controls when the filters run. Here's a sample file
112-
runs all mp3 and zip files through Git Media:
112+
runs all mp3 and zip files through Git LFS:
113113

114114
```
115115
$ cat .gitattributes

lfs/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func validateMediaHeader(contentType string, reader io.Reader) (bool, int, *Wrap
380380

381381
givenHeader, ok := params["header"]
382382
if !ok {
383-
return false, headerSize, Error(fmt.Errorf("Missing Git Media header in %s", contentType))
383+
return false, headerSize, Error(fmt.Errorf("Missing Git LFS header in %s", contentType))
384384
}
385385

386386
fullGivenHeader := "--" + givenHeader + "\n"

lfs/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ func wrapProgressError(err error, event, filename string) error {
8484
return nil
8585
}
8686

87-
return fmt.Errorf("Error writing Git Media %s progress to %s: %s", event, filename, err.Error())
87+
return fmt.Errorf("Error writing Git LFS %s progress to %s: %s", event, filename, err.Error())
8888
}

script/install.bat.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
1616
if '%1'=='ELEV' (shift & goto gotPrivileges)
1717
echo.
1818
echo **************************************
19-
echo Installing Git Media as Administrator
19+
echo Installing Git LFS as Administrator
2020
echo **************************************
2121

2222
setlocal DisableDelayedExpansion
@@ -43,6 +43,6 @@ set "path=%PATH%;%GIT_MEDIA_BIN_PATH:"=%"
4343

4444
1>NUL copy git-media.exe %GIT_MEDIA_BIN_PATH%\git-media.exe
4545

46-
git media init
46+
git lfs init
4747

4848
cmd /k

0 commit comments

Comments
 (0)