On Tue, Apr 30, 2013 at 12:47:57PM -0500, Felipe Contreras wrote:

> > We should make sure that the code rejects "git update-ref @ foo"
> > because that is "git update-ref @{0} ref", by the way.  I didn't
> > check with Felipe's patch.
> Hmm, with or without my patch 'git update @ foo' does nothing, same
> with 'git update blah foo'. No error, no non-zero exit code, just
> doesn't do anything.

Are you sure?

  $ git version
  git version 1.8.2

  $ git update-ref @ foo
  fatal: foo: not a valid SHA1

  $ git update-ref @ origin/master
  $ echo $?
  $ cat .git/@

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to