Re: [PATCH 3/4] stash: convert drop and clear to builtin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +       argv_array_pushl(&args, "reflog", "delete", "--updateref", "--rewrite", NULL);
> +       argv_array_push(&args, info->revision);
> +       ret = cmd_reflog(args.argc, args.argv, prefix);
> +       if (!ret) {
> +               if (!quiet) {
> +                       printf(_("Dropped %s (%s)\n"), info->revision, sha1_to_hex(info->w_commit.hash));
> +               }

The brackets are not needed.

> +       } else {
> +               return error(_("%s: Could not drop stash entry"), info->revision);
> +       }



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux