diff options
| author | Junio C Hamano <gitster@pobox.com> | 2008-02-03 00:57:23 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2008-02-03 00:57:23 -0800 |
| commit | d8534adac756a71a897b3a433eaea7992a137b71 (patch) | |
| tree | 2a1418ef780cd916426c6d143c336a4a62231c8f /builtin-commit.c | |
| parent | 991c3dc79f21a52209f9f41a52909cbb9462de1a (diff) | |
| parent | 8a2f87332b847edc7f8fc5f305889c863651ecb5 (diff) | |
| download | git-d8534adac756a71a897b3a433eaea7992a137b71.tar.xz | |
Merge branch 'maint'
* maint:
Fix "git-commit -C $tag"
Documentation/git-stash.txt: Adjust SYNOPSIS command syntax (2)
Diffstat (limited to 'builtin-commit.c')
| -rw-r--r-- | builtin-commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-commit.c b/builtin-commit.c index d8deb1ad03..c787bed696 100644 --- a/builtin-commit.c +++ b/builtin-commit.c @@ -601,7 +601,7 @@ static int parse_and_validate_options(int argc, const char *argv[], if (get_sha1(use_message, sha1)) die("could not lookup commit %s", use_message); - commit = lookup_commit(sha1); + commit = lookup_commit_reference(sha1); if (!commit || parse_commit(commit)) die("could not parse commit %s", use_message); |
