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