Message ID | cover.1729367469.git.code@khaugsbakk.name (mailing list archive) |
---|---|
State | New |
Headers | show |
kristofferhaugsbakk@fastmail.com writes: > From: Kristoffer Haugsbakk <code@khaugsbakk.name> > > This series removes or moves some old material in the update-ref doc and > improves the discussion of symrefs, opting for a high-level description > with some redundancy (see patch 5/6) in order to avoid a reported > mistake/confusion. > > The end goal (after all patches are applied): > > • First paragraph (in Description) describes the first form > • Second paragraph the second form > • Third paragraph mentions symrefs and explains why `--stdin` supports > them > • A new section whither the symlink (FS) vs. symrefs discussion is moved > • Link update-ref to symbolic-ref and vice versa > Thanks for working on this, I have gone through the patches, I think it is in a great state. Karthik [snip]
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index fada3f670eb..c64d80f5a2d 100644 --- a/Documentation/git-update-ref.txt +++ b/Documentation/git-update-ref.txt @@ -28,8 +28,8 @@ not exist. The final arguments are object names; this command without any options does not support updating a symbolic ref to point to another ref (see linkgit:git-symbolic-ref[1]). But `git update-ref --stdin` does have -the the `symref-*` commands so that regular refs and symbolic refs can -be committed in the same transaction. +the `symref-*` commands so that regular refs and symbolic refs can be +committed in the same transaction. If --no-deref is given, <ref> itself is overwritten, rather than the result of following the symbolic pointers.