()
| 17 | } |
| 18 | |
| 19 | func (CmdUploadPack) Usage() string { |
| 20 | //TODO: usage: git upload-pack [--strict] [--timeout=<n>] <dir> |
| 21 | //TODO: git-upload-pack returns error code 129 if arguments are invalid. |
| 22 | return fmt.Sprintf("usage: %s <git-dir>", os.Args[0]) |
| 23 | } |
| 24 | |
| 25 | func (c *CmdUploadPack) Execute(args []string) error { |
| 26 | gitDir, err := filepath.Abs(c.Args.GitDir) |
nothing calls this directly
no outgoing calls
no test coverage detected