From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.178 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796184524; b=Ti80e3/X3kmoErgy5IYp1qV03nyqLiXrsZHXwoPlck2rDUqSs5zq0jwb/ibYfBnsjyWE hDH/jXQIMwLcrJrX7cXHafMZHmLHJk0nA32NZlW8dawICxoNdoqfR/d1TA7P2KBBm1ig0 F6m+OdXJm4z4r1iXRZFPbC1n8z8BpWQWpCww1ZlKz6oeDDsV3TglIjXZAGGgFTv4FCh+K Y7uLLA3xzyUgDhmxy1nroUfOPDvelv/y8mI2Ytld2wOayatVM5BWAJ6K/pm3qA/reUavH hHpq6xu65YheFR+NC/de8uuVmvEYiFRFOw132y5hRQYl9JKFh9Ria10Z6qDmDPdADKA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796184524; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=; b=UPhgwHio2isVwtWBWK9VrKIzV0CGdLsbJAKXtHBdICi/7Hkn1fmHAF1GXelEPXv2ywBr Fhzr36AgwFY1ZexRzIad/ui+TCLLKGpYu9PdWCgOaWGtsiH3vd3aw4ZNL42lP4uo1T9sV EoBo1RgnbXik7bjSHGvxsukf8DpOZuRIbAdN3wIOv67y5knyUXMLbPTQ+bOj+swY1pSMk HH7rN26mjZiHPieqcRAs9tQ0itgIo0SB/pSQGo4HvKQMkuBroA8CbbHzUPr2X6KJ5dc9y oaGYIUBMRua2KfUsjT5z4agFkiBgIPhDQrCRdS4WpmXb3Qs6pthriAcUZROJfge3ZcA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dSl8FVAv; arc=none smtp.remote-ip=74.125.82.178 Received: from mail-dy1-f178.google.com (mail-dy1-f178.google.com [74.125.82.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 17DFD606A32A for ; Wed, 2 Dec 2026 04:08:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 17DFD606A32A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dSl8FVAv Received: by mail-dy1-f178.google.com with SMTP id 5a478bee46e88-38692f62b22so1914062eec.0 for ; Tue, 01 Dec 2026 20:08:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796184523; x=1796789323; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=; b=dSl8FVAvUDJ/zl8EsKhozcpYR678QH+n24dOpzdl+lNFkivrOZPiu581ZYw1HZkYln sA6iDe0ssPDG9KZ8kSed73NwGa1mBGwUdNPpNG/fTsMUml86KX1b6dpdkAYQq86Wwl9D IfpyUOYQL10houmq97kKx2h7kRyPvmTVLA+p+EuKL+xMTLlJW7qoHxniJbtyKe59ODcH R3KWpDtjxau7xBxP2+b194b5zbwt4AECtKKQ4VvwBnT4fDAkHtHaM8ZSHzYpXJTljHHT b5V8k5YZjFn20kPYlbyI8RfPKA1QRCyRZPmhKUXkuCUYebJmqlBKxzJ5LH+/Sy7ogTJG Qdcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796184523; x=1796789323; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=u1GlkjtEWC6rXiHvDakkjlG072qPUoZNvTI9Aes1uYI=; b=L4rqL6Ai9CVhPpoDixmOvjXB6KOOI+s+YJVHWEQwhI11ntkNbhtMElnR9sAhaNkGcK L7vM9vSgr3n76fJEiuGMN8sebW+uTY3d0T86TAonhhjLo9WX/Wv7grqaUxodPtH8dbl3 jiQLAgfpzpOWwVA8N5p4CqYuvjv1Ln8ZMpewvGTFgKBRa3Ujsnqj+QyHqLvbXdivezy8 leb/shCsRZ5OTEX2MlCPONVIwa/FSvMpsMkuMWTXGXSa27Txg6aRfrMXHWbAr0YxaEx+ 3rc5n7mImPMz+Ew6679bzks9NdFS3dIXDnQZv6W/ep9xg/lv2OvyuUdBsrwbuOSc9ziS +oIw== X-Gm-Message-State: APuU4Z+XHyETISq/ds3PqaElg1ZNAdt4cSIp1rFQMPDZyKZBIIVtDdaV D3uqR0rS4LWAAkunCK22ZCZcRkqMONDUpHA2NoYdh6TiDXUERWJmM2apcHkWqw== X-Gm-Gg: AZFdTZcqfLH1p6mh7KqPKvd0pK3A0TlCwK4kW4Hs4Fx3EVd44MMFUWUhbTEHYqdZn0Y mSUVCkiwj9GbBApjBH6uyS8uvzHYq6ukcj8tkkyfyWNjDhiAeqnvVLXXB4ai6pOvb1PxHo09Mc6 xHnwq76/20yJ/wqmiRRHEXKJeUD2fwmhKwhORQRtMMgf6KauPhCgHhoHnwbgO/JPAKOhXZk5Q8d CkTPSM/jLNXbLCT0vBfBdWPbF8v01l5yH23segeIao3OvAiyxW79nn6G4Yr3CWDIVOUafoSsNe3 yWXYCpEhlt47JF2ECM/U2CeE38z1Wso6G13vHxiDyUX0jD3hCK34+WZ8xVmLPLu1soxG/FekTk+ 7ZqCbHkmEgMAWSPj7A3ax8odQs1DnmGjnEAmWsNCi3b0G1LLFNZ5Xw+kbVD6JrKueEJOsr2VPGs 93AeaSXjQfup429ymTQq4jGxnoiphpVWSU5txnAzsMcfR5PhVotk3twSGU1YJfKJPnAzE56SLxp sv4hoy2wbJCSQzhj5ID02FEvVlPv73eeWlP1HJCXCmDi1A9p6w9Kn63l+zWqg+hIFkkGUWb6nDg /8s0uTySGhYUGcruw03y+7mGLH7I2AC8KG/owK+zIVCOd8m9pEOkZF40CGzc71Uk7faPKn7RdYH /jJaTJSEb6/9dv0/OZWTC1SyQsGZBOb7PNDMggCT7aOXQro659Y/yrA== X-Received: by 2002:a05:693c:4146:10b0:387:1be3:2c1b with SMTP id 5a478bee46e88-3871be47e6emr5716940eec.15.1796184523212; Tue, 01 Dec 2026 20:08:43 -0800 (PST) Received: from gmail.com ([172.56.123.24]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-3866f299d0bsm99940916eec.19.2026.12.01.20.08.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 20:08:42 -0800 (PST) Date: Tue, 1 Dec 2026 20:08:38 -0800 From: David Aguilar To: Ernst Reissner Cc: git@vger.kernel.org Subject: Re: Feature request Message-ID: References: <5f58630c-2490-4a38-9e77-75da906f429e@arcor.de> X-Mailing-List: git@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5f58630c-2490-4a38-9e77-75da906f429e@arcor.de> [Disclaimer: I am the author of Git Cola] On Tue, Aug 18, 2026 at 10:47:25AM +0200, Ernst Reissner wrote: > Hello all, > > Gittyup s possibility to index files linewise turned out to be very useful. > > Me and some of my colleagues at work would adore very much that feature in > git itself. I would highly recommend that you try out Git Cola [1]. FWIW, Git Cola actually invented the interactive line-wise staging interface back in late 2007. Cola supports interactive line-wise staging, unstaging, and reverting of edits. [2] This is one of the use cases where jumping out of the terminal is actually worth it IMO. Cola can be completely driven via keyboard actions with minimal mouse usage, and the UI is intended for both Git power users and novices so you may find that it compliments the core Git CLI quite well. [3] [4] Cola is 19 years old now, so if you haven't tried it recently you may be been missing out on a hidden gem. For example, Cola has a builtin diff viewer for image files (.png, .svg, etc.) beyond its tight integration with `git difftool` and the rest of the core Git ecosystem. One of the best new features in Cola is its full Undo + Redo support for what are typically destructive Git operations. You can carefully craft the state of the index using Cola, and if you accidentally un/stage something that you didn't intend to, you can `ctrl-z` / `shift-ctrl-z` from the Diff editor and it'll undo/redo the edit. This even works for unstaged worktree edits -- the kind that you would typically revert using `git checkout -- `. If you use Cola to make these edits you can actually undo what is typically a destructive Git operation. [1] https://github.com/git-cola/git-cola/ [2] https://git-cola.readthedocs.io/en/latest/git-cola.html#id4 [3] https://git-cola.readthedocs.io/en/latest/git-cola.html#keyboard-shortcuts [4] https://git-cola.github.io/share/doc/git-cola/hotkeys.html -- David